Работа над расширенным поиском

This commit is contained in:
Book Pauk
2022-12-07 19:44:51 +07:00
parent a965032b08
commit d32375d4e4
3 changed files with 66 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
class="q-mt-xs" style="width: 150px;" :label="`(${f.type}) ${f.field}`"
:bg-color="bgColor[f.field] || 'white'"
stack-label outlined dense clearable
@keypress="onKeyPress"
@keydown="onKeyDown"
>
<q-tooltip v-if="search[f.field]" :delay="500" anchor="bottom middle" content-style="font-size: 80%" max-width="400px">
{{ search[f.field] }}
@@ -177,7 +177,7 @@ class SelectExtSearchDialog {
this.$root.stdDialog.alert(info, 'Памятка', {iconName: 'la la-info-circle'});
}
onKeyPress(event) {
onKeyDown(event) {
if (event.code == 'Enter')
this.apply();
}