bug: use v-model.number instead of v-model to capture notify_before (#813)

Co-authored-by: Hunter Long <Info@socialeck.com>
pull/815/head
Marc Binder 2020-09-12 22:07:19 +02:00 committed by GitHub
parent b37713877a
commit b1516b3fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
<label for="notify_before" class="col-sm-4 col-form-label">{{ $t('notify_before') }}</label>
<div class="col-sm-8">
<div class="form-inline">
<input v-model="message.notify_before" type="number" name="notify_before" class="col-4 form-control" id="notify_before">
<input v-model.number="message.notify_before" type="number" name="notify_before" class="col-4 form-control" id="notify_before">
<select v-model="message.notify_before_scale" class="ml-2 col-7 form-control" name="notify_before_scale" id="notify_before_scale">
<option value="minute">{{ $t('minutes') }}</option>
<option value="hour">{{ $t('hours') }}</option>