How to refresh select options after hitting Create another?
Hi guys, I have two relation managers on one resource, one has form with select that uses relationship with modified query. The other one has also select but has options method because I wanted to group options inside select. Problem is, when user create new relation and hit Create and create another, that use case with relationship will refresh query in select, but in options it is not refreshed. Can you help me? I can give you code. I just need to exclude option already selected.
1 Reply
This one works just fine. After hitting create another query is run again, so selected option is excluded.