Skip to content
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

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
Labels
feature New feature

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.

@gunndabad gunndabad added the feature New feature label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants