-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce code verbosity of forms #683
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I did a quick review of the code and a smoke test.
Maybe some minor thing we can do in this PR: I would propose to make the "Ich beantrage neben der physischen auch die digitale Ehrenamtskarte." opt-out so it is by default selected.
I think most people would like one but maybe dont set it because they dont know what it is.
This PR reduces code verbosity for forms by introducing utility functions for compound forms.
(
This was a bit of a fun side project to get to know typescript better^^. My typescript wishlist:
microsoft/TypeScript#12936
and
microsoft/TypeScript#14466
)