Use Select Field WITH the Listener #1997
Replies: 2 comments 2 replies
-
@tabuna I've a similar issue regarding to related select boxes: I have "Book" select and "Chapters" select. What i'd expect is that i can select a book, and its "Chapters" are loaded using the async function and immediately shown for the second select box. But now, i have to save the record, and only then I see the chapters in the dropdown. Is there an example for this kind of setup/scenario that @mahmoudmohamedramadan also indicated? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I think because don't use options in post.category_id Select, try to add option method and |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have two
Select
Fields and I want to set the secondSelect
Field WITH the data according to the selected option in the firstSelect
Field So I decided to use theListener
Class like so,and the code in
PostEditScreen.php
like so,But for sorry I do not get the data. Any Help? 🙄
Beta Was this translation helpful? Give feedback.
All reactions