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
Phumudzo/fix/1468 #1479
base: main
Are you sure you want to change the base?
Phumudzo/fix/1468 #1479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed localValue since it returning the same date as datesString which is simple to manipulate and format
I thought of retaining it for user manipulation but it eventualklly returns the same date as dateString
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nthangeniphumudzo. As I mentioned earlier we shouldn't convert value to string, it should be stored as moment/date object. Also I realized that the week picker doesn't work
Hi @IvanIlyichev . Please kindly assist with this PR addressing this issue.
My Thinking process here was that the value passed to the DatePicker should always be in ISO 8601 and allow it to be formatted by the pickerFormat.
Please review and advise on this approach.