Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
e914926f
Commit
e914926f
authored
Oct 21, 2020
by
janis.streib
🦉
Browse files
ADD: filterinput component
parent
60707030
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/FilterInput.vue
0 → 100644
View file @
e914926f
<
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
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment