This module contains a type that represents a generic form field.
Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.
Transform the values of a Field.
It can be useful to build your own Form.mapValues function.
Represents a form field.
It contains:
valueof the fieldupdatefunction that takes a new field value and returns updated form valuesattributesof the fieldThese record fields are normally used in view code to set up the
valueandonInputattributes. For example, you could render aTextFieldlike this: