diff --git a/docs/SelectInput.md b/docs/SelectInput.md index 4e70607666d..2200652d954 100644 --- a/docs/SelectInput.md +++ b/docs/SelectInput.md @@ -28,7 +28,9 @@ import { SelectInput } from 'react-admin'; | `choices` | Required | `Object[]` | - | List of items to show as options | | `create` | Optional | `Element` | `-` | A React Element to render when users want to create a new choice | | `createLabel` | Optional | `string` | `ra.action.create` | The label for the menu item allowing users to create a new choice. Used when the filter is empty | +| `disableValue` | Optional | `string` | 'disabled' | The custom field name used in `choices` to disable some choices | | `emptyText` | Optional | `string` | '' | The text to display for the empty option | +| `emptyValue` | Optional | `any` | '' | The value to use for the empty option | | `onCreate` | Optional | `Function` | `-` | A function called with the current filter value when users choose to create a new choice. | | `options` | Optional | `Object` | - | Props to pass to the underlying `` element | | `optionText` | Optional | `string` | `Function` | `name` | Field name of record to display in the suggestion item or function which accepts the current record as argument (`record => {string}`) |