Level 10
Had to use only:[] property from inertia
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have 2 Headless UI comboboxes, the second depends on selection from the first (a sub-list).
To filter the second, with Inertia, I post the selection of the first with preserveState: true and filter in Laravel.
The problem is the Combobox loses it selection state, although the object holding it's value (it's v-model) persist the selected value and the display text is correct, the UI cannot show which option was selected in the list.
I'm looking for any guides how to implement this properly or guidance what I might be doing wrong here.
Had to use only:[] property from inertia
Please or to participate in this conversation.