Skip to content

Commit

Permalink
Develop (#69)
Browse files Browse the repository at this point in the history
* fix #43: stop navigation to disabled items with buttons

* fix #44: update change events

* fix #48: making spacing configurable

* enhancement #53: add support for icons

* fix #62: support for filedata for input file type

* fix #64: adding type for input mask

* cleanup linting

* fix build

* fix #66: file upload not working for section forms

* fix #68: adding multiselect control support
  • Loading branch information
manojadams committed Apr 12, 2024
1 parent 46a805b commit ba7c829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/constants/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const CONTROLS = {
MODALSEARCH: "modalsearch",
FILE: "file",
MULTITEXT: "multitext",
MULTISELECT: "multiselect",
TEXT: "text",
INPUT_MASK: "input-mask",
TEXT_FIELD: "text_field",
Expand Down
2 changes: 2 additions & 0 deletions src/form/form-controls/BaseFormControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ export default abstract class BaseFormControl extends React.Component {
return this.date();
case CONTROLS.SELECT:
return this.select();
case CONTROLS.MULTISELECT:
return this.multiselect();
case CONTROLS.RADIO:
return this.radio();
case CONTROLS.RADIO_BUTTON:
Expand Down

0 comments on commit ba7c829

Please sign in to comment.