1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/core/components/SelectSearch.vue

32 lines
590 B
Vue

<template>
<div class="select__search">
<i class="select__search-icon iconoir-search"></i>
<input
:value="value"
type="text"
class="select__search-input"
v-bind="$attrs"
:placeholder="placeholder || $t('action.search')"
@input="$emit('input', $event.target.value)"
/>
</div>
</template>
<script>
export default {
name: 'SelectSearch',
props: {
value: {
type: String,
required: false,
default: null,
},
placeholder: {
type: String,
required: false,
default: '',
},
},
}
</script>