Fix event URL validation and check if hostname is correct before showing

it

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-15 09:57:08 +02:00
parent 4727c8861e
commit f82c3b7492
2 changed files with 8 additions and 4 deletions

View File

@@ -38,7 +38,7 @@
</div>
<b-field :label="$t('Website / URL')">
<b-input icon="link" v-model="event.onlineAddress" placeholder="URL" />
<b-input icon="link" type="url" v-model="event.onlineAddress" placeholder="URL" />
</b-field>
<!--<b-field :label="$t('Category')">