You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The importance of the change when picking a value:
335
340
* - "accept": fires `onChange`, fires `onAccept` and closes the picker.
336
341
* - "set": fires `onChange` but do not fire `onAccept` and does not close the picker.
337
342
* @default "accept"
338
343
*/
339
344
changeImportance?: PickerChangeImportance;
340
345
/**
341
346
* The validation error associated to the current value.
342
-
* If not defined, the validation will be re-applied by the picker.
347
+
* If not defined, the validation will be computed by the picker.
343
348
*/
344
349
validationError?: TError;
345
350
/**
346
351
* The shortcut that triggered this change.
347
-
* Should not be defined if the change does not come from a shortcut.
352
+
* It should not be defined if the change does not come from a shortcut.
348
353
*/
349
354
shortcut?: PickersShortcutsItemContext;
350
355
/**
351
-
* Decide if the value should call `onChange` and `onAccept` when the value is not controlled and has never been modified.
356
+
* Whether the value should call `onChange` and `onAccept` when the value is not controlled and has never been modified.
352
357
* If `true`, the `onChange` and `onAccept` callback will only be fired if the value has been modified (and is not equal to the last published value).
353
358
* If `false`, the `onChange` and `onAccept` callback will be fired when the value has never been modified (`onAccept` only if `changeImportance` is set to "accept").
0 commit comments