Constructor
# new GenericInput(props)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
GenericInputProps
|
Component properties |
|
label |
any
|
<optional> |
Label for input |
name |
ComponentName
|
Name of the input |
|
onIsValidChange |
onIsValidChangeCallback
|
<optional> |
Callback when isValid field change |
onLoadComplete |
onLoadCompleteCallback
|
<optional> |
Callback when component is ready |
placeholder |
string
|
<optional> |
Placeholder for the input |
required |
boolean
|
<optional> |
Add * for required field, it must also specify a validation for it |
styles |
InputStyle
|
<optional> |
Style applied to the input field |
type |
string
|
<optional> |
Input type |