Saw this post post. And using it to try to fill in a form on load with query parameters. Works great for an input field, but not so great for an option-select.
I am repeating a group of options based on a REST call to the database, where the value attribute is set to $opt->get(βkeyβ,ββ)
I tried setting a selected value for each option but it doesnβt want to work
$opt->get(βkeyβ,ββ) == $opt->get(βroleβ,ββ) ? true : false
I also tried this for the selected attribute:
$opt->get(βkeyβ,ββ)->Equals($query->(βroleβ,ββ), ββ)
But also with no luck.
Any help on how I could do this?