Drupal 8 add ajax form element after ajax callback
问题 I am building a drupal form with multiple ajax enabled form elements. I have one select list that does an ajax callback after change. The problem is that it adds a new select list to the page, which is also ajax enabled. This does not seem to work, which seems logical to me because the ajax is actually bundled an added to the page so it is lost in the replacecommand. Is there anyone experienced with this, and does anyone have a solution ? This is my code /** * {@inheritdoc} */ public function