Skip to content

Commit b5e7bab

Browse files
committed
fix docs
1 parent a528f3d commit b5e7bab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/v1/components/RruForm.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@
2525
| name | Unique form element name | Yes | All |
2626
| type | Available types: `text (default), password, textarea, select, multi-select, radio, checkbox, multi-checkbox, grouped-multi-checkbox (deprecated), date, time, file` | Yes | All |
2727
| 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` |
2929
| placeholder | A place holder | No | `text`, `textarea`, `password`, `file` |
3030
| dir | Text direction | No | `text`, `textarea`, `password` |
31-
| maxLength | Maximum length | No | |
31+
| maxLength | Maximum length | No | `text`, `textarea`, `password` |
3232
| disabled | Set to `true` to disable the editing of the form element | No | All |
3333
| isHijri | For `Hijri` calendar. By default is it `Gregorian` | No | `date` |
3434
| isFuture | Display only future years | No | `date` |
3535
| isPast | Display only past years | No | `date` |
3636
| clock | Clock style either 12-hours or 24-hours | No | `time` |
37-
| clock | Clock style either 12-hours or 24-hours | No | `time` |
3837
| maxYearLength | Max number of years +- current year | No | `date` |
3938
| reverseDisplayOrder | Reverse the render order of the date or time selectors | No | `date, time` |
4039
| inline | Set to `true` to display `radio` buttons in one line | No | `radio` |

0 commit comments

Comments
 (0)