Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Strongly type FormField and subclasses #11462

Open
2 tasks
emteknetnz opened this issue Nov 11, 2024 · 0 comments
Open
2 tasks

Strongly type FormField and subclasses #11462

emteknetnz opened this issue Nov 11, 2024 · 0 comments

Comments

@emteknetnz
Copy link
Member

emteknetnz commented Nov 11, 2024

During the work to add FieldValidator's to FormField's, it was noted that there's a lack of strong typing on FormField classes

Adding strong typing to these classes will indirectly support validation work, as well any future work to have a cleaner API surface for standardised UX components

Acceptance criteria

  • Add strong typing to the FormField class and subclasses
  • Where it makes sense, tidy up the logic of methods such as setValue(), setSubmittedValue(), Value(), etc
@emteknetnz emteknetnz changed the title Strongly type FormField's Strongly type FormField and subclasses Nov 11, 2024
@emteknetnz emteknetnz self-assigned this Nov 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant