Merge branch 'issue-269' into 'master'
Disable search button if search field is empty Closes #269 See merge request framasoft/mobilizon!309
This commit is contained in:
commit
714cd45e16
@ -7,7 +7,7 @@
|
|||||||
<b-field :label="$t('Event')" grouped label-position="on-border">
|
<b-field :label="$t('Event')" grouped label-position="on-border">
|
||||||
<b-input icon="magnify" type="search" size="is-large" expanded v-model="searchTerm" :placeholder="$t('For instance: London, Taekwondo, Architecture…')" />
|
<b-input icon="magnify" type="search" size="is-large" expanded v-model="searchTerm" :placeholder="$t('For instance: London, Taekwondo, Architecture…')" />
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<b-button @click="submit" type="is-info" size="is-large">{{ $t('Search') }}</b-button>
|
<b-button @click="submit" type="is-info" size="is-large" v-bind:disabled="searchTerm.trim().length === 0">{{ $t('Search') }}</b-button>
|
||||||
</p>
|
</p>
|
||||||
</b-field>
|
</b-field>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user