question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Datepicker fails to show when multiple datepickers are in one view.ui.xml and the language is set to NL (Dutch)

See original GitHub issue

I have a view with two datepicker ui:fields, both with language set to ‘NL’. On runtime, the datepicker on the second field fails to show when the field gains focus. However when the tab-key is used to navigate between fields, de datepicker popup is shown correctly.

<m:MaterialDatePicker grid="s6" ui:field="in" format="dd-mm-yyyy"
   autoClose="true" detectOrientation="true" language="NL"
  placeholder="In functie vanaf" selectionType="YEAR" yearsToDisplay="20" />
<m:MaterialDatePicker grid="s6"  ui:field="uit" format="dd-mm-yyyy"
   autoClose="true" detectOrientation="true" language="NL"
  placeholder="In functie t/m" selectionType="YEAR" yearsToDisplay="20" />

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
KobiKobolduscommented, Aug 24, 2018

This is my workaround to set languages. Scheduler .get() .scheduleDeferred(new ScheduledCommand() { @Override public void execute() { datePicker.setLanguage(DatePickerLanguage.DE); hDatePicker.setLanguage(DatePickerLanguage.DE); } });

0reactions
GuidoReithcommented, Feb 5, 2020

Bug is still not fixed in version 2.3.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jquery-ui datepicker multiple language integration
I have all the i18n files, and I am using a select element to change the value. But nothing seems to be working....
Read more >
JqueryUI - Datepicker - Tutorialspoint
Datepickers in jQueryUI allow users to enter dates easily and visually. You can customize the date format and language, restrict the selectable date...
Read more >
Designing The Perfect Date And Time Picker
Ideally, providing all three options — a numerical input, a calendar overlay and a mini-stepper — seems to be a safe bet, as...
Read more >
Date Picker Add-in for Excel 2007 and up for Windows
3) When you click on Change Settings the Date Picker you have the following options : In the Settings section you can :...
Read more >
Deprecate and remove jQuery UI datepicker - Drupal
Due to jQuery UI's end of life, the jQueryUI Datepicker has been deprecated. Browsers that support native datepickers are unaffected; browsers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found