-
Notifications
You must be signed in to change notification settings - Fork 14
FOUR-6854 Replacing the Datepicker! #376
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Added data variables to differentiate datepicker or datetimepicker * config data variable instead of a computed variable * Passing format into the library
… date using the new Date() from Javascript instead from a library (?) * Ran prettier into the DemoApp.vue
…ed property, * Added the $attrs to be new props with their respective Type * Ran Prettier
…ainer * Datepicker check and format, moved them to be a computed prop * Added a check to see if the date is valid in parsing * Forcing the check (according to moment.js docs) on the date format
* added console.log for Validator * Commented out startPeriod since it was causing some issues on init
# Conflicts: # src/components/FormDatePicker.vue
…e Wednesday column
* Added displayFormat prop from the library instead of using our function to format the date. Keeping it DRY * Renamed the function that checks for min-max date to checkMinMaxDateDisabled * Reworked the logic for mix-max date using the custom func parseDateToDate * Added jsdocs
9 tasks
caleeli
reviewed
Jan 6, 2023
* Fixed the date prop value to check if the value exist, to parse it. IF not, default to empty string
caleeli
approved these changes
Jan 10, 2023
rodriquelca
approved these changes
Jan 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue & Reproduction Steps
Expected behavior:
The new date picker should replicate the same functionality as the old one
Solution
How to Test
npm run serve
and start playing in the background.I would recommend linking this package to
screen-builder
and test it with the functionality there.Related Tickets & Packages
Code Review Checklist