LearnNewsExamplesServices
Frontmatter
id4332
titleform.field.Date: ensure that the picker always shows the year which matches the input field
stateClosed
labels
bug
assigneestobiu
createdAtApr 27, 2023, 3:51 PM
updatedAtApr 28, 2023, 4:50 PM
githubUrlhttps://github.com/neomjs/neo/issues/4332
authortobiu
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 28, 2023, 4:50 PM

form.field.Date: ensure that the picker always shows the year which matches the input field

Closed v8.1.0 bug
tobiu
tobiu commented on Apr 27, 2023, 3:51 PM

it seems like it is always choosing the current year. will investigate.

tobiu added the bug label on Apr 27, 2023, 3:51 PM
tobiu assigned to @tobiu on Apr 27, 2023, 3:51 PM
tobiu
tobiu Apr 27, 2023, 6:11 PM

form.field.Date seems fine, diving into component.DatePicker now.

subramaniyamP
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:

image

tobiu
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 referenced in commit 66b4059 - "form.field.Date: ensure that the picker always shows the year which matches the input field #4332" on Apr 28, 2023, 4:06 PM
tobiu closed this issue on Apr 28, 2023, 4:16 PM
tobiu
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 referenced in commit caa9461 - "form.field.Date: ensure that the picker always shows the year which matches the input field #4332" on Apr 28, 2023, 4:49 PM
tobiu closed this issue on Apr 28, 2023, 4:50 PM