Skip to main content

ReadField

ReadField component is a wrapper for your form elements / fields. You can use it to render any react element that depends on the value or error of the form element.

ReadField is functionally same as Field component. Only difference is that it doesn't have change handlers.

Propsโ€‹

idโ€‹

Same as id prop of the Field component.

Children Propsโ€‹

These props are passed to the children.

valueโ€‹

Same as value prop of the Field component.

errorโ€‹

Same as error prop of the Field component.