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

Support date input components without all three components #276

Open
gunndabad opened this issue Mar 6, 2024 · 3 comments
Open

Support date input components without all three components #276

gunndabad opened this issue Mar 6, 2024 · 3 comments

Comments

@gunndabad
Copy link
Owner

Currently we always generate day, month and year for a date input; the GDS fixtures have examples for day + month and month + year.

@sussexrick
Copy link
Contributor

@gunndabad FYI our implementation based on yours already has the month and year version, so getting this in the base library would be great.

@gunndabad
Copy link
Owner Author

@sussexrick do you support binding to a single model property in your implementation or do you have a property per field?

@sussexrick
Copy link
Contributor

We have a single property and just assume the first of the month. That allows us to switch the day field on and off in our UI with no code changes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants