Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

EmilMoe's avatar
Level 10

Headless UI Combobox lose selected state

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.

0 likes
1 reply
EmilMoe's avatar
EmilMoe
OP
Best Answer
Level 10

Had to use only:[] property from inertia

2 likes

Please or to participate in this conversation.