Use submit event for add column button
This commit is contained in:
parent
dbb9d8065d
commit
52c6ff22ee
|
@ -1,13 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div v-if="showInput">
|
<div v-if="showInput">
|
||||||
<input type="text" placeholder="e.g:mstdn.jp" v-model="instance">
|
<form @submit.prevent="addTL">
|
||||||
<BaseButton
|
<input type="text" placeholder="e.g:mstdn.jp" v-model="instance">
|
||||||
@click.native="addTL"
|
<BaseButton
|
||||||
class="primary fill"
|
type="submit"
|
||||||
style="--font-size:.8em;"
|
class="primary fill"
|
||||||
:disabled="!hasDomain"
|
style="--font-size:.8em;"
|
||||||
>Add Column</BaseButton>
|
:disabled="!hasDomain"
|
||||||
|
>Add Column</BaseButton>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div id="timelines">
|
<div id="timelines">
|
||||||
<div v-for="(value, key, index) in pubTL" :key="index" class="tl">
|
<div v-for="(value, key, index) in pubTL" :key="index" class="tl">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user