-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[MdDatepicker] using format 'DD/MM/YYYY' exceeding stack size #1689
Comments
the same with DD.MM.YYYY |
* refactor(MdDatepicker): computed locale options * style(MdDatepicker): fix style * refactor(MdDatepicker): Better flow for datepicker BREAKING CHANGE: upgrade date-fns to 2.0.0-alpha.7 fix #1689 * feat(MdDatepicker): new props md-model-type * fix(MdDatepicker): fix warn message template literals * docs(Datepicker): fix props md-model-type * style(MdDatepicker): lint * fix(MdDatepicker): mdModelType validator name * feat(MdDatepicker): dynamic date format supported * docs(Datepicker): date format example * docs(Configuration): * docs(Configuration): better description
With 'DD.MM.YYYY' Chrome hangs after 3 or 4 selects in a row. |
Yeah, same here. Firefox seems to work fine but after selecting a couple of dates in a row with format DD.MM.YYYY, it hangs up. |
I just tried to use the master branch instead of the release. Does not work either. |
Try |
Bad luck... |
Dont forget to rebuild dev branch, we dont provide rebuilded dist files with fixes in dev branch |
@Samuell1 I have two date-picker in the same form, one of them is giving date value as object
but format is still giving format error. |
Steps to reproduce
Setting
Vue.material.locale.dateFormat = 'DD/MM/YYYY'
.Trying to select a date using
md-datepicker
.Which browser?
Chrome Canary.
What is expected?
Be able to select a date.
What is actually happening?
When selecting a date using the dateFormat is
DD/MM/YYYY
the watcher forselecteDate
is again executed and then there is loop.https://github.com/vuematerial/vue-material/blob/dev/src/components/MdDatepicker/MdDatepicker.vue#L88
Reproduction Link
https://codesandbox.io/s/6398yyjqn
The text was updated successfully, but these errors were encountered: