eludic
10 months ago

Dynamic Drop Down

Posted 10 months ago by eludic

I am using Laravel with Laravel Collective Forms and HTML to create a web form for the application. I have interlinked drop downs where the options of the second drop down gets populated from what was selected on the primary drop down.

I have managed to get this to work however my issue is, if there is an error in the form with any other field, the app reverts back to the form with the primary drop down selected as per the selected value however the linked drop down does not populate accordingly nor does it show the option values.

How do I fix this issue?

Please sign in or create an account to participate in this conversation.