Skip to content

Commit

Permalink
Form logic refactor (#29)
Browse files Browse the repository at this point in the history
* feat(wizard-logic): basic logic

* feat(wizard-logic): relative array fields logic

* feat(wizard-logic): array absolute logic

* feat(wizard-logic): minor types change

* feat(wizard-logic): fix old implementations

* feat(wizard-logic): minor fixes
  • Loading branch information
eylonmiz authored Mar 28, 2023
1 parent 72d239d commit 8c5e2c7
Show file tree
Hide file tree
Showing 21 changed files with 547 additions and 662 deletions.
4 changes: 2 additions & 2 deletions packages/example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
SchemaServe,
FormMeta,
BasicWizard,
BuilderWizard,
LogicWizard,
} from './Forms';
import formConfig from './basic.json';

Expand Down Expand Up @@ -50,7 +50,7 @@ const examples: Record<string, () => JSX.Element> = {
SchemaServe: SchemaServe,
FormMeta: FormMeta,
BasicWizard: BasicWizard,
BuilderWizard: BuilderWizard,
LogicWizard: LogicWizard,
};

const options = Object.keys(examples).map((key, ix) => ({ value: key, label: `${ix}) => ${key}` }));
Expand Down
Loading

0 comments on commit 8c5e2c7

Please sign in to comment.