Introduction
Fable.Form.Simple
is a UI-agnostic library that provides a simple way to manage forms in Fable applications.
It defines common form behaviors, such as:
- State tracking:
Idle
- The form is being filled, this is the default stateLoading
- The form is being submittedReadOnly
- The form is being displayed in read-only modeError of string
- The form is in error state, with a global error messageSuccess of string
- The form has been successfully submitted, with a global success message
- Error tracking - keeps track of errors in the form
- Values tracking - keeps track of the values in the form (values are what the user has entered in the form)
Fable.Form.Simple
can be used with any UI library, currently we provides supports for: