David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said almost 2 years ago on Dynamic Select Forms with Hotwire :
Can you inspect the html in the browser to make sure that the data attribute got set?

David Kimura PRO said almost 2 years ago on Dynamic Select Forms with Hotwire :
Ah... I think I see the problem. In your code, you're closing the div before the form select for the secondary target. So, the secondary target is NOT part of the stimulus controller.

David Kimura PRO said almost 2 years ago :
Are there any other errors?

David Kimura PRO said almost 2 years ago :
I see. You may want to reach out to their support team as there could be an issue with their provisioner or they may be able to provide more logs.

David Kimura PRO said almost 2 years ago :
You would need an Order model that belongs to the user. Once the order has been placed, you, as an admin, could query all of the orders and their statuses. As a user, they should be able to query just their orders since there is a relationship to the user.