Frontmatter
| id | 4332 |
| title | form.field.Date: ensure that the picker always shows the year which matches the input field |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Apr 27, 2023, 3:51 PM |
| updatedAt | Apr 28, 2023, 4:50 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4332 |
| author | tobiu |
| commentsCount | 4 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 28, 2023, 4:50 PM |
form.field.Date: ensure that the picker always shows the year which matches the input field
tobiu assigned to @tobiu on Apr 27, 2023, 3:51 PM

tobiu
Apr 27, 2023, 6:11 PM
form.field.Date seems fine, diving into component.DatePicker now.

subramaniyamP
Apr 28, 2023, 2:56 PM
@tobiu :
Calendar start date logic we need to restrict. Now user able to enter Random date and page get freeze without any console errors. for that issue we shall do like - if enter random date by default we will select by default current date?
FYI:


tobiu
Apr 28, 2023, 3:41 PM
i will adjust component.DatePicker today to show the correct view.
however, this ticket is not related to any UI freezes => this is most likely custom app logic running wild.
see: https://user-images.githubusercontent.com/1177434/235163547-6f4f7ca4-7739-4408-bdbd-fe7c02b6334a.mov
tobiu closed this issue on Apr 28, 2023, 4:16 PM

tobiu
Apr 28, 2023, 4:46 PM
reopening: while this works fine for user field inputs now, the date field is lacking support for programatically set values.
tobiu reopened this issue on Apr 28, 2023, 4:46 PM
tobiu closed this issue on Apr 28, 2023, 4:50 PM
it seems like it is always choosing the current year. will investigate.