-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add default date question type #311
Comments
Test plan
Sample forms for testing |
I think the test plan looks great and covers everything in the doc! I only have two comments:
I don't think it's possible to cancel and keep the previous date with the component. If the user selects a date and then changes it, their options are to clear it or manually change it back. My second comment is about the icon and I'm not sure if it needs to be in the test plan, but I think it would helpful to include the calendar icon is displayed next to the input field to help provide a visual cue. |
@alyblenkin thanks for the feedback
I've added the calendar icon under
Maybe this could be: '1. user selects a date. 2. then opens the calendar again. 3. click somewhere else outside the calendar area. 4. calendar closes. 5. the previous value should stay (not cleared)` |
Sounds good to me @latin-panda |
Re: "needs design" labelI've re-added the "needs design" label here, as a prompt for hopeful design around:
Re: value representation(s)Something to think about in terms of the value representation(s): everything in I think it would be wise to consider adopting the same representation in the engine. As with support for As an added wrinkle to that, since
Note: It's also worth considering using Re: PrimeVue componentI think it's also important to call out: until we upgrade to PrimeVue 4, we should always be sure to reference their v3 docs! This is easy to forget. It's helped me to build a bit of muscle memory for it, by always selecting "v3" in the dropdown on their landing page, before I navigate anywhere else. I'm calling this out because @lognaturel and I had some confusion about whether PrimeVue 3 even has date/time components. It turns out that it does! But in v3 they're named Footnotes |
@eyelidlessness @alyblenkin This ticket is only for the date question type (input type="date") |
Translations will be handled in this ticket: #332 ![]() |
Implement the default date widget with the Gregorian calendar.
Support for appearances and additional calendar types—such as Bikram Sambat, Buddhist, Coptic, Ethiopian, Islamic, Myanmar, and Persian—is considered a future enhancement and will not be included at this stage
User stories
As a user, I want to navigate past or future dates and select a date.
Component state
Libraries
Use the Primevue's date picker component and figma for states not in the library. The calendar's footer has an option with some navigation buttons, but we need to check if it's possible to translate those buttons.
Design
Figma
The text was updated successfully, but these errors were encountered: