Skip to content
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] Freeze occurs when using date format "DD-MM-YYYY" #1903

Closed
m6t opened this issue Aug 14, 2018 · 2 comments
Closed

[MdDatepicker] Freeze occurs when using date format "DD-MM-YYYY" #1903

m6t opened this issue Aug 14, 2018 · 2 comments

Comments

@m6t
Copy link

m6t commented Aug 14, 2018

Reproduction Link

https://codesandbox.io/s/81zlw4n76l

Steps to reproduce

  1. use MdDatepicker when this.$material.locale is set to
    { startYear: 1900, endYear: 2099, dateFormat: "DD-MM-YYYY", days: [ "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi" ], shortDays: ["Pz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"], shorterDays: ["Pa", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], months: [ "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" ], shortMonths: [ "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara" ], shorterMonths: [ "O", "Ş", "M", "N", "M", "H", "T", "Ag", "Ey", "Ek", "K", "Ar" ], firstDayOfAWeek: 1 }

  2. set v-model to any variable.

  3. click a date that its day number is greater than 12.

  4. observe date is setting in the input correctly.

  5. click a date that its day number is less than 12.

  6. observe freeze

Which browser?

I dont think it matters but it happens on chrome last stable version.

What is expected?

When clicked the date that its day number is less than 12 input updating without a problem or freeze

What is actually happening?

Browser freezes and nothing happens

@VdustR
Copy link
Member

VdustR commented Aug 14, 2018

duplicated. #1689

@m6t
Copy link
Author

m6t commented Aug 16, 2018

Yea it seems its fixed in dev branch but i cant take a build becouse i'm on windows.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants