🔣Inputs
Changelog
Autocomplete
Fixes
fixed input value for newly created options in Async Autocomplete (due to MUI bug fixed in v5)
fixed Autocomplete that is at the same time multi-selection, creatable and simple value (due to MUI bug fixed in v5)
DateTime
Removed deprecations
autoOkhas been removeddateFormathas been removeddisableToolbarhas been removedinvalidDateMessagehas been removedlanguagehas been removedmaxDateMessagehas been removedminDateMessagehas been removedtimeFormathas been removedvarianthas been removed
New features
added
dateAdapterclass function for date manipulation controladded
localeas anobjector astringto format the date according to the library usedadded
showPickerto choose what piker to be displayedadded
componentsto customize each slot and button in the componentadded
inputPropsto customize theTextFieldthat is displayed on the screenadded
formatto easily choose between five predefined formatsthis replaces the old
languageproperty
other new features that can be found at the material-UI documentation
DynamicInput
Breaking changes
control types
NUMandINThave been switched in order to be accurate representations
Fixes
CLST,VCLSTandBOOLinputs' default props are overridable
Improvements
async options loading is handled by the Autocomplete component
PasswordField
Fixes
fixed show icon disabled behavior
fixed show icon color in error state
fixed show icon shape due to wrapping span in tooltip component
Improvements
show icon has transparent background
shorten show password default text
SimpleSlider
Breaking changes
onChange is called now with value instead of (event, value)
Fixes
fixed label not having error color
fixed helper text misalignment
added the
decimalSeparatorprop
Improvements
for values that are out of range, an error state is displayed; the value doesn't bounce to the min/max limit anymore
TextField (old CustomTextField)
Breaking changes
onChange callback will now receive the value instead of the event; onTextBoxChange should be removed if used
Removed deprecations
customInputPropshas been removed
Fixes
fixed language prop not being sent to number field props
New features
add
+and-buttons to the number through theisStepperprop; the step value is 1 by default, but can be customizedadd currency prefix on number field
add min and max values on number field
add clearable functionality through the
isClearablepropadd readOnly functionality
Improvements
decimalScale,fixedDecimalScale,thousandSeparator,decimalSeparatorprops can be sent directly to TextField, not only through theinputProps
Last updated