enabled property
whether field is enabled,
if field is disabled:
- field will lose focus and can not be focused , but you still can get focusNode from
FormeFieldStateand setcanRequestFocusto true and require focus - field's validators are ignored (manually validation will be also ignored)
- field is readOnly
- value will be ignored when get form data
- value can still be changed via
FormeFieldState - validation state will always be
FormeValidationState.unnecessary - when get validation from
FormeState, this field will be ignored
Implementation
final bool enabled;