Skip to content

Commit 17c51aa

Browse files
committed
removed options in SelectInput propTypes as they are not used
1 parent 2531c51 commit 17c51aa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/ra-ui-materialui/src/input/SelectInput.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ import { LoadingInput } from './LoadingInput';
8787
* @example
8888
* <SelectInput source="gender" choices={choices} translateChoice={false}/>
8989
*
90-
* The object passed as `options` props is passed to the Material UI <Select> component
91-
*
9290
* You can disable some choices by providing a `disableValue` field which name is `disabled` by default
9391
* @example
9492
* const choices = [
@@ -362,7 +360,6 @@ SelectInput.propTypes = {
362360
PropTypes.bool,
363361
PropTypes.element,
364362
]),
365-
options: PropTypes.object,
366363
optionText: PropTypes.oneOfType([
367364
PropTypes.string,
368365
PropTypes.func,

0 commit comments

Comments
 (0)