Appearance
useForm()
Hook which accepts FormModel and config as a second argument and returns mapped events and state
Config:
validate(optional) default is take from createLib paramvalidateOnUseForm. If set to true callsvalidateon mount
Returns object:
fields- result ofuseFieldscallonSubmit- mappedsubmiteventisSubmitted- mapped$isSubmittedstore value