mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-01 15:49:51 +00:00
Resolve "Foreignkey field / connecting rows"
This commit is contained in:
parent
49753eef89
commit
fe31605fef
73 changed files with 3718 additions and 146 deletions
web-frontend/modules/core/components
|
@ -1,5 +1,11 @@
|
|||
<template>
|
||||
<li class="select__item" :class="{ hidden: !isVisible(query) }">
|
||||
<li
|
||||
class="select__item"
|
||||
:class="{
|
||||
hidden: !isVisible(query),
|
||||
active: isActive(value),
|
||||
}"
|
||||
>
|
||||
<a class="select__item-link" @click="select(value)">
|
||||
<i
|
||||
v-if="icon"
|
||||
|
@ -45,6 +51,9 @@ export default {
|
|||
const regex = new RegExp('(' + query + ')', 'i')
|
||||
return this.name.match(regex)
|
||||
},
|
||||
isActive(value) {
|
||||
return this.$parent.value === value
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue