Commit e914926f authored by janis.streib's avatar janis.streib 🦉
Browse files

ADD: filterinput component

parent 60707030
<template>
<div class="net-filter-direct d-print-none">
<b-input-group class="shadow">
<b-input-group-prepend>
<b-input-group-text>
<font-awesome-icon :icon="['fas', 'filter']"/>
</b-input-group-text>
</b-input-group-prepend>
<b-input debounce="300" v-model="value" @update="$emit('input', $event)" class="search form-control"
placeholder="Filter"
autofocus/>
<b-input-group-append v-if="allow_direct">
<b-button title="Direktwahl" variant="outline-secondary" type="submit"
class="mr-0">
<font-awesome-icon icon="arrow-right"/>
</b-button>
</b-input-group-append>
</b-input-group>
</div>
</template>
<script>
export default {
name: 'FilterInput',
props: {
allow_direct: {
default() {
return false
}
},
value: {
default() {
return ''
}
}
}
}
</script>
<style scoped>
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment