i'm new to PrimeVue 3. I just build up a little admin interface for my ReCoS project and came across this question, where i didn't found a solution. Maybe someone can help me.
How to disable deselection of items in ListView?
I have a Listview
and i want to deactivate the deselction of the items. Every time one item should be selected. Programatically i select the first item on changing the underlying list. There is only one exception, if there is no item in the list. How can I achieve this?
Code: Select all
<Listbox v-model="activeAction" :options="profile.actions" optionLabel="name" listStyle="max-height:500px" class="no-border" v-on:change="checkChange($event)" > </Listbox>