OptionaldisabledSet to true to disable this control.
OptionalendA text to be displayed after the value.
OptionalerrorThe current error state.
OptionalfullSet to true to expand this control to use the full widht of its parent.
OptionalhelperAny helper text that should be displayed.
OptionalidThe component id.
OptionalinputInput mode.
OptionallabelThe label of this input control.
OptionalmarginMargins between controls inside this control.
OptionalmaxThe max value if numberType is set.
OptionalminThe min value if numberType is set.
OptionalnumberNumber type if the expected value is a number, if left undefined then the value is expected to be a string.
OptionalonCallback that will be called when the control has lost focus.
The new value.
OptionalonCallback that will be called when the value has been changed.
The new value.
OptionalonCallback that is called when the error state has changed.
The new error state.
OptionalonCallback that will be called when the value has been changed or the control has lost focus. This callback is called before onChange and if the returned err value is true then onChange won't be called. The implemtation of this callback is allowed to modify the specified text value and return the modified value in the val property of the returned object.
The new text value.
The trigger of this callback, either on 'change' or on 'blur'.
An object with the validated value (val) and an error state (err).
OptionalpatternRegex pattern of the value in this control.
OptionalrequiredSet to true if this control's value is required.
OptionalsizeThe component size.
OptionalstartA text to be displayed in front of the value.
OptionalsxOptional sx properties.
OptionalsxOptional sx properties for the end adornment.
OptionalsxOptional sx properties for the start adornment.
The current value.
Properties of the ValidateableTextControl React component.