Friday, March 18, 2016

Focus state bug on text field AJAX calls

Focus state bug on text field AJAX calls. It will refocus to the same field after the AJAX calls.

$element['#ajax']['disable-refocus'] = TRUE;

Reference:

https://www.drupal.org/node/2627788

https://www.drupal.org/node/2124397#comment-9159611

No comments: