interface BaseInputProps @formium/react| Props | Description |
|---|---|
disabled | booleanWhether or not the field is disabled. Required |
id | stringThe unique identifier of the question. Required |
name | stringThe administrative key for the field. Required |
onBlur | React.FormEventHandlerEvent handler invoked when input is blurred. Required |
onChange | React.FormEventHandlerChange event handler. Use event.target.value for new value. Required |
onFocus | React.FormEventHandlerEvent handler invoked when input is focused. Required |
placeholder | stringInput placeholder value |
required | booleanWhether or not the field is required. Required |
value | stringForm value of the input, for controlled usage. Required |
Build forms, without the tears.
Resources
hello@formium.io — Copyright © 2020 Formium, Inc. All rights reserved.