Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: New datepicker not sending the submit value anymore

giorgio.ponza priority asked 4 years ago


Expected behavior If i want to send a different value for selected date, i only have to specify a formatSubmit syntax and eventually prefix and suffix

Actual behavior From version 4.17 this does not happen anymore Resources (screenshots, code snippets etc.) The following code was working in 4.16 and still works in 4.17

$('.datepicker').pickadate({
  format: 'dd / mm / yyyy',
  formatSubmit: 'yyyy/mm/dd',
  hiddenPrefix: '',
  hiddenSuffix: '_date'
});

Using the syntax for the new datepicker format

    $('.datepicker').datepicker({
  format: 'dd / mm / yyyy',
  formatSubmit: 'yyyy/mm/dd',
  hiddenPrefix: '',
  hiddenSuffix: '_date'
});

the browser only send the original name, not the one with prefix and suffix


Grzegorz Bujański staff commented 4 years ago

Hi. Thanks for report this. We will fix this.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.17.0
  • Device: Desktop
  • Browser: Firefox 75
  • OS: Linux x64
  • Provided sample code: No
  • Provided link: No