π£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
autoOk
has been removeddateFormat
has been removeddisableToolbar
has been removedinvalidDateMessage
has been removedlanguage
has been removedmaxDateMessage
has been removedminDateMessage
has been removedtimeFormat
has been removedvariant
has been removed
New features
added
dateAdapter
class function for date manipulation controladded
locale
as anobject
or astring
to format the date according to the library usedadded
showPicker
to choose what piker to be displayedadded
components
to customize each slot and button in the componentadded
inputProps
to customize theTextField
that is displayed on the screenadded
format
to easily choose between five predefined formatsthis replaces the old
language
property
other new features that can be found at the material-UI documentation
DynamicInput
Breaking changes
control types
NUM
andINT
have been switched in order to be accurate representations
Fixes
CLST
,VCLST
andBOOL
inputs' 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
decimalSeparator
prop
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
customInputProps
has been removed
Fixes
fixed language prop not being sent to number field props
New features
add
+
and-
buttons to the number through theisStepper
prop; 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
isClearable
propadd readOnly functionality
Improvements
decimalScale
,fixedDecimalScale
,thousandSeparator
,decimalSeparator
props can be sent directly to TextField, not only through theinputProps
Last updated