The Form component can be used by importing { Form } from "finallyreact". You can define any set of components as children to the Form component and it will automatically look for change events emitted to perform validations.
Note: Any child component you want to be tracked in the form must emit a change or submit event. FinallyReact user input components do this automatically. If a custom component does not emit a change event for a certain scenario, you can do so with { dispatchChangeEvent, dispatchSubmitEvent, dispatchCompositionEvent } from "finallyreact".
Important: Every Form component must have a unique id defined and each element in the form must have a unique name or id attribute defined (if both are defined, the name will take precedence). Form validation may not work correctly if these are not defined.