|
@validationField
|
string
|
Yes
|
The field name in the changeset for validation.
|
|
@changeset
|
ImmerChangeset
|
Yes
|
The changeset object for form validation.
|
|
@label
|
string
|
No
|
The label for the input field.
|
|
@placeholder
|
string
|
No
|
The placeholder text for the input field.
|
|
@unsigned
|
boolean
|
No
|
Whether the number input should only accept positive values (minimum 0).
|
|
@min
|
number
|
No
|
The minimum value for the number input.
|
|
@step
|
number
|
No
|
The step increment for the number input.
|
|
@mandatory
|
boolean
|
No
|
Whether the input field is mandatory.
|
|
@disabled
|
boolean
|
No
|
Whether the input field is disabled.
|
|
@onChange
|
function
|
No
|
The action to be called when the value changes.
|
|
@changeEvent
|
string
|
No
|
The event to trigger the onChange action.
|
|
@requiredFields
|
string[]
|
No
|
Array of required field names for validation.
|