Skip to content

Commit 16181ad

Browse files
authoredAug 12, 2022
Merge pull request #8071 from marmelab/select-input-resettable-prop
[TypeScript] Add `resettable` prop to `SelectInputProps`
2 parents 2fe32c4 + 38817db commit 16181ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

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

+1
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ export type SelectInputProps = Omit<CommonInputProps, 'source'> &
395395
disableValue?: string;
396396
emptyText?: string | ReactElement;
397397
emptyValue?: any;
398+
resettable?: boolean;
398399
// Source is optional as AutocompleteInput can be used inside a ReferenceInput that already defines the source
399400
source?: string;
400401
onChange?: (event: ChangeEvent<HTMLInputElement> | RaRecord) => void;

0 commit comments

Comments
 (0)
Please sign in to comment.