From 399635908a776984488444a4d8e6780d2429422b Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Mon, 9 Nov 2020 22:13:18 +0100 Subject: [PATCH] #94 [profile] better flags widget interface --- components/ButtonList.vue | 27 +++++++++++++++++++++++++-- locale/pl/translations.suml | 1 + 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/components/ButtonList.vue b/components/ButtonList.vue index 5be50c2f4..75fadbe77 100644 --- a/components/ButtonList.vue +++ b/components/ButtonList.vue @@ -7,13 +7,33 @@ {{ val }} + + + +
  • +
    + +
    + + + + +
    +
    +
  • -
  • - +
  • + {{ val }} @@ -40,12 +60,15 @@ iVal: this.value, remainingOptions: this.buildRemainingOptions(), ulid: ulid(), + search: '', + all: false, } }, watch: { value() { this.iVal = this.value; this.remainingOptions = this.buildRemainingOptions(); + this.search = ''; }, }, methods: { diff --git a/locale/pl/translations.suml b/locale/pl/translations.suml index c8452f09e..4727fa1a5 100644 --- a/locale/pl/translations.suml +++ b/locale/pl/translations.suml @@ -765,6 +765,7 @@ crud: add: 'Dodaj' filter: 'Filtruj' filterLong: 'Filtruj listę…' + search: 'Szukaj…' beta: > Strona jest w wersji βeta!