Does not work with #AJAX

Created on 3 March 2020, over 4 years ago
Updated 30 March 2023, over 1 year ago

Modifying a form with a hook we are able to use #AJAX for default date picker.

      $form['field_date_of_birth']['widget'][0]['value']['#ajax'] = [
        'callback' => 'people_form_alter_student_enable_legal_guardian',
        'event' => 'change',
        'progress' => [
          'type' => 'throbber',
          'message' => t('Verifying entry...'),
        ],
      ];

This will trigger the AJAX request and allow updating the form.

However, with the new type bootstrap_date_time AJAX is never triggered on change.

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ทCosta Rica alemadlei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024