Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be_manager_relation popup select multiple schließt sofort nach der ersten Auswahl das Fenster. #1508

Open
tyrant88 opened this issue May 17, 2024 · 0 comments

Comments

@tyrant88
Copy link
Contributor

Wie im Titel beschrieben:
Popup im Backend in einem Feld. Man wählt einen Datensatz aus mit "übernehmen" und das Fenster schließt sich sofort.

Ich blicke das js Event-System nicht so ganz.
Daher habe ich laienhaft eine Prüfung auf "multiple" in diese Zeile hinzugefügt
https://github.com/yakamara/yform/blob/master/plugins/manager/assets/widget.js#L158

Zwischenablage-1

Funzt.
Aber wie ist das eigentlich gedacht? Soll das preventDefault beim Dispatchen des Events getriggert werden?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant