Add searchbox & tag filter

This commit is contained in:
samaradel
2021-08-23 13:59:35 +02:00
parent 44185e321d
commit e6ed812b69
4 changed files with 321 additions and 22 deletions

View File

@@ -0,0 +1,36 @@
<template>
<div class="inline-flex rounded-full border-grey-light test">
<button>
<span class="w-auto inline-flex justify-end items-center text-grey p-2">
<font-awesome :icon="['fas', 'search']" />
</span>
</button>
<input
class="rounded mr-4"
type="text"
placeholder="Search"
:value="value"
@input="$emit('input', $event.target.value)"
/>
</div>
</template>
<script>
export default {
props: ["value"],
};
</script>
<style scoped>
svg {
color: #9fa3b6;
}
.test {
border: 1px solid #9fa3b6;
/* width: 10%; */
}
input:focus {
outline: none;
border: none;
}
</style>