god830
Explore posts from serversNuxtUI USelectMenu event issue with searchable
If I have searchable on USelectMenu, the click event on the options won't trigger
Here is the code:
without searchable, test() will be triggered, then selectCondition() will be triggered
with searchable, test() won't be triggered, selectCondition() will be triggered
```
<USelectMenu
v-model="model"
:options="options"
value-attribute="id"
@change="selectCondition($event)"
searchable <-- this cause the issue
>
<template #option="{option}">
<div @click="test($event)"></div>
</template>
</USelectMenu>
5 replies
PPrisma
•Created by god830 on 6/3/2024 in #help-and-questions
Filtering an array
Hi, my question is very simple. For a column, let's call it transportation.
{
"transportation": {
"array_contains": [
"bike"
]
}
}
This would work well. However, when I want to get all the rows without bike in transportation column, it doesn't work anymore. I have tried to put "bike" in an array or just as a string, both didn't work. Is this a bug of prisma or did I do something wrong here?
{
"transportation": {
"not": {
"array_contains": [
"bike"
]
}
}
}
1 replies