Drupal 8 what is the ajax event for auto complete dropdown?

by dev   Last Updated January 17, 2018 13:07 PM

Drupal 8, what is the ajax event for auto complete dropdown? i have created form alter, there i am altering my form field that is auto complete field, so now what is the ajax event for this auto complete drop down.

change, select, keyup all are not working for this.

Tags : ajax


Answers 1


use autocompleteclose event.

#ajax' = array(
  'callback' =>'get_user_details',
  'event' => 'autocompleteclose',
);
deepthi kumari
deepthi kumari
January 17, 2018 12:54 PM

Related Questions


Decoding cyrillic %get[] parameter in Ajax form

Updated June 11, 2015 08:03 AM

How to reload Google chart on ajax submit?

Updated August 12, 2015 17:03 PM

grab and reuse AJAX request parameters in a view

Updated July 17, 2015 13:03 PM