nerdroid
Modify url/query string when action modal opens
Let's say that I have a simple
CustomerResource
at /admin/customers
, when I open the create modal i'd like the url to show /admin/customers?tableAction=create
or when I edit one i'd like the url to show /admin/customers?tableAction=edit&tableActionRecord=1
I can't find any docs with indications to action hooks? Is this achievable in any way?3 replies
Dependent CheckboxList not working
Hello, I have a cities
CheckboxList
that depends on a states Select
which also depends on a suppliers Select
. Meaning that when I select one or more suppliers, the states select should display the states belongs to the selected suppliers, and when I select the states, the CheckboxList should show all the cities that belongs to the selected states.
The dependent suppliers and states Select
s work just fine but I am having an issue with the cities CheckboxList
, for some odd reason it is not displaying the results. It just display the empty state message. I even added a dependent cities Select
just to make sure that the relationships are correctly set up as it is shown in the video, they are. So I am not quite sure the reason why the cities CheckboxList
isn't working.
Here's a gist with the code snippets: https://gist.github.com/nerdroid23/389739e1210bcc7fcd4f3df637bf0d79
Any help or insights would be greatly appreciated, thanks!12 replies