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

Fix value not being stored as DateTime #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

percula
Copy link

@percula percula commented Apr 5, 2024

This fixes the issue of the newValue not being stored as a DateTime after selecting it.

I was running into an issue where a user would select a date. Since this just updated the text, and I'm using a DateFormat that only shows the month and day, the year was completely lost. Now, the newValue is set as the field's value after being selected (if not null). So now, no matter how you format the date text, it will give you the correct DateTime to save.

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

Successfully merging this pull request may close these issues.

1 participant