datepicker 2 sends undefined_submit on hiddenName

Topic: datepicker 2 sends "undefined_submit" on hiddenName

spidey pro priority vip early access asked 2 months ago

Expected behavior

When sending form to server and use the 'hiddenName' attribute of the datepicker, the server should get the input name in the 'formatSubmit' specific format.

Actual behavior

Now the server recives the correct format of the 'formatSubmit' but the key is: "undefined_submit" => "2020-06-09". I can mention that I have 2 datepickers, and the same result is even with one. Also tried with default examples from documentation, but I get the same result. I am using Webpack for compilation (default one from Laravel 7)

Resources (screenshots, code snippets etc.)

    format: 'd mmm, yyyy',
    formatSubmit: 'yyyy-mm-dd',
    hiddenName: true,

<div class="md-form md-outline input-with-post-icon datepicker my-2">
                        <label for="check_in">Check In</label>
        <i class="fas fa-calendar input-prefix" tabindex="0"></i>

Grzegorz BujaƄski staff commented 2 months ago

Hi. Thanks for reporting. We will check and fix it

spidey pro priority vip early access commented 2 months ago

any news/fixes for this issue ?

Tomek Makowski staff commented 2 months ago

Unfortunately for this moment no.

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.19.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No