Inputs
Changelog
Last updated
Changelog
Last updated
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)
Removed deprecations
autoOk
has been removed
dateFormat
has been removed
disableToolbar
has been removed
invalidDateMessage
has been removed
language
has been removed
maxDateMessage
has been removed
minDateMessage
has been removed
timeFormat
has been removed
variant
has been removed
New features
added dateAdapter
class function for date manipulation control
added locale
as an object
or a string
to format the date according to the library used
added showPicker
to choose what piker to be displayed
added components
to customize each slot and button in the component
added inputProps
to customize the TextField
that is displayed on the screen
added format
to easily choose between five predefined formats
this replaces the old language
property
other new features that can be found at the documentation
Breaking changes
control types NUM
and INT
have been switched in order to be accurate representations
Fixes
CLST
, VCLST
and BOOL
inputs' default props are overridable
Improvements
async options loading is handled by the Autocomplete component
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
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
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 the isStepper
prop; the step value is 1 by default, but can be customized
add currency prefix on number field
add min and max values on number field
add clearable functionality through the isClearable
prop
add readOnly functionality
Improvements
decimalScale
, fixedDecimalScale
, thousandSeparator
, decimalSeparator
props can be sent directly to TextField, not only through the inputProps