You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in the file vendor\open-admin-org\open-admin\src\Form\Field\Select.php
you need to change the declaration of the elm variable (lines 120 and 231) from let elm to var elm.
In this way it is possible to manage multiple cascading selects.
The text was updated successfully, but these errors were encountered:
Otherwise, if you do not want to use the dev branch, you can override the select class file in your composer.json.
Copy the Select.php file from vender to app
From: vendor/open-admin-org/open-admin/src/Form/Field/Select.php
To: app/Override/open-admin-org/open-admin/src/Form/Field/Select.php
Make your Changes in the Select.php class file
On line 120:
var elm = document.querySelector("{$this->getElementClassSelector()}");
And on line 231:
let elm = document.querySelector("{$this->getElementClassSelector()}");
Hi,
in the file vendor\open-admin-org\open-admin\src\Form\Field\Select.php
you need to change the declaration of the elm variable (lines 120 and 231) from
let elm
tovar elm
.In this way it is possible to manage multiple cascading selects.
The text was updated successfully, but these errors were encountered: