improve type filter selection
This commit is contained in:
parent
d08a2cfdc2
commit
9bbb1f3e03
1 changed files with 19 additions and 14 deletions
|
@ -81,19 +81,24 @@ export default {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<form class="mr-4 mt-4">
|
<form class="mr-4 mt-4">
|
||||||
<select
|
<fieldset class="flex flex-row mb-4">
|
||||||
class="w-40"
|
<legend>Kategorie</legend>
|
||||||
v-model="paperFilter.type">
|
<select
|
||||||
<option
|
class="w-40 p-2 bg-background-100 rounded-lg"
|
||||||
v-for="(type, i) of paperTypes"
|
v-model="paperFilter.type">
|
||||||
:key="i"
|
<option
|
||||||
>{{ type.value }}
|
v-for="(type, i) of paperTypes"
|
||||||
</option>
|
:key="i"
|
||||||
</select>
|
:value="type"
|
||||||
<select
|
>{{ type.value }}
|
||||||
class="w-40"
|
</option>
|
||||||
v-model="paperFilter.originator">
|
</select>
|
||||||
<option v-for="(originator, i) of paperOriginators" :key="i">{{ originator }}</option>
|
<button
|
||||||
</select>
|
class="pl-2"
|
||||||
|
@click.prevent="paperFilter.type = { key: '', value: ''}"
|
||||||
|
title="zurücksetzen"
|
||||||
|
>✖
|
||||||
|
</button>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
Loading…
Reference in a new issue