New datepicker not sending the submit value anymore


Topic: New datepicker not sending the submit value anymore

giorgio.ponza pro premium priority asked 5 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 5 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

Open

Specification of the issue
  • User: Pro
  • 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
Tags