Title: Bug Report:
Last modified: August 5, 2026

---

# Bug Report:

 *  [David Bee](https://wordpress.org/support/users/davidbawiec/)
 * (@davidbawiec)
 * [4 days, 14 hours ago](https://wordpress.org/support/topic/bug-report-181/)
 * Hi Konrad!
 * I have a small bug report for you (along with a fix as usual). 😉
 * In a frontend `acf_form()`, I have an ACFE enhanced Flexible Content field. One
   layout includes an ACF Date Picker subfield.
 * Existing rows work correctly. The same field also works correctly in wp-admin.
 * But when I add a new Flexible Content layout on the frontend, the Date Picker
   input does not open the calendar reliably. It looks like the cloned input can
   keep the jQuery UI `hasDatepicker` class and generated `id`, so jQuery UI treats
   it as already initialized.
 * A small workaround fixed it on my site:
 *     ```wp-block-code
       acf.addAction('append', function ($el) {
           $el.find('.acf-field[data-type="date_picker"]').addBack('.acf-field[data-type="date_picker"]').each(function () {
               let field = acf.getField(jQuery(this));
   
               if (!field || field.get('type') !== 'date_picker') {
                   return;
               }
   
               let $input = field.$inputText();
   
               if (!$input.length || $input.data('datepicker')) {
                   return;
               }
   
               $input.removeClass('hasDatepicker').removeAttr('id');
               field.initialize();
           });
       }, 20);
       ```
   
 * It seems ACFE’s frontend Flexible Content append flow may need to reset cloned
   Date Picker inputs before ACF initializes them.
 * Thanks!

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-report-181%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [David Bee](https://wordpress.org/support/users/davidbawiec/)
 * Last activity: [4 days, 14 hours ago](https://wordpress.org/support/topic/bug-report-181/)
 * Status: not resolved