focus-components-v3
Version:
Focus web components to build applications (based on Material Design)
23 lines (19 loc) • 843 B
Markdown
# Select
Ce composant permet d'afficher une liste déroulante.
| Props | Type | Default props | Description |
|---|---|---|---|
| defaultValue | object | | Valeur par défaut |
| disabled | bool | false | Si la liste est sélectionnable |
| error | string | 'input.select-mdl.error.default' | Message d'erreur |
| hasUndefined | bool | true | |
| isActiveProperty | string | 'isActive' | |
| isRequired | bool | false | |
| labelKey | string | 'label' | |
| name | string | | Nom du select |
| onChange | func | | Fonction au changement de valeur sélectionnée |
| placeholder | string | | |
| rawInputValue | oneOfType([PropTypes.string, PropTypes.number]) | | |
| unSelectedLabel | string | 'select.unSelected' | |
| valid | bool | true | |
| valueKey | string | 'code' | |
| values | array | [] | |