I guess the expected behavior is (in my reproducible case) openning with "9th of June, 2019" date selected, following the setted options, but instead, the first oppening (and so on if I don't change the values manually) coming with "6th of Sep, 2019". Return values: This method returns the date. (if I close and open it again without reload the page, of course) Expected Behavior ( '.selector' ).datepicker( 'setDate' ) Parameters: This method does not accept any parameters. When you first select a date from Date Time Pickerand then if you enter an invalid date. If I open datepicker with the wrong date and change it to 9 of june manually, the HTML input value doesn't change, and the datepicker begin to open correctly. The Date Time Picker BPM UI control is not working as expected. In the date picker, you then set its Default property to the 'defaultDate' variable, so that when that property is changed (by clicking the previous/next buttons), then the date displayed in the picker will be changed as well. By default, returns dates as a string in the YYYY-MM-DD format, which is the same format returned by native browser .The year is respected, but day and month are switched on first datepicker openning (and so on, if I don't change the input value with datepicker menu). I guess I'm using the latest Materialize release (at least following the latest documentation on the official website, 1.0.0-rc.1). I'm trying to use datepicker with 'format: dd/mm/yyyy' in options dict (code below), according to Materialize documentation, but i'm having some issues when I set HTML 'value' attribute for the datepicker input.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |