|
25 | 25 | | name | Unique form element name | Yes | All | |
26 | 26 | | type | Available types: `text (default), password, textarea, select, multi-select, radio, checkbox, multi-checkbox, grouped-multi-checkbox (deprecated), date, time, file` | Yes | All | |
27 | 27 | | className | Column class name | No | All | |
28 | | -| options | An array of objects of the form:<br>`{id: string label: string}`<br>But if the type is `grouped-multi-checkbox` the form is:<br>`{label: string, items: [...]}`| Yes if type in `select, radio, multi-checkbox, grouped-multi-checkbox` | `select, multi-select, radio, multi-checkbox, grouped-multi-checkbox` | |
| 28 | +| options | An array of objects of the form:<br>`{id: string, label: ReactNode}`<br>But if the type is `grouped-multi-checkbox` the form is:<br>`{label: string, items: [{id: string, label: ReactNode}]}`| Yes if type in `select, radio, multi-checkbox, grouped-multi-checkbox` | `select, multi-select, radio, multi-checkbox, grouped-multi-checkbox` | |
29 | 29 | | placeholder | A place holder | No | `text`, `textarea`, `password`, `file` | |
30 | 30 | | dir | Text direction | No | `text`, `textarea`, `password` | |
31 | | -| maxLength | Maximum length | No | | |
| 31 | +| maxLength | Maximum length | No | `text`, `textarea`, `password` | |
32 | 32 | | disabled | Set to `true` to disable the editing of the form element | No | All | |
33 | 33 | | isHijri | For `Hijri` calendar. By default is it `Gregorian` | No | `date` | |
34 | 34 | | isFuture | Display only future years | No | `date` | |
35 | 35 | | isPast | Display only past years | No | `date` | |
36 | 36 | | clock | Clock style either 12-hours or 24-hours | No | `time` | |
37 | | -| clock | Clock style either 12-hours or 24-hours | No | `time` | |
38 | 37 | | maxYearLength | Max number of years +- current year | No | `date` | |
39 | 38 | | reverseDisplayOrder | Reverse the render order of the date or time selectors | No | `date, time` | |
40 | 39 | | inline | Set to `true` to display `radio` buttons in one line | No | `radio` | |
|
0 commit comments