popravek buga ENTER na PojemForm. Zdaj naslov ne naredi nič, na email input pa nardi submit.
parent
e17ba84505
commit
16763e3d69
|
@ -60,11 +60,11 @@ const etherNalozen = ev => {
|
|||
|
||||
<template>
|
||||
<form class="pojem" @submit.prevent>
|
||||
<input name="naslov" type="text" placeholder="Naslov" v-model="naslov">
|
||||
<input name="naslov" type="text" placeholder="Naslov" v-model="naslov" @keydown.enter.prevent>
|
||||
|
||||
<EtherpadTextarea :onLoad="etherNalozen" :revisionId="props.revisionId" />
|
||||
|
||||
<input name="email" type="email" placeholder="E-poštni naslov" v-model="email">
|
||||
<input name="email" type="email" placeholder="E-poštni naslov" v-model="email" @keydown.enter="oddajPredlog">
|
||||
<div class="gumbi">
|
||||
<button class="gumb" @click="props.onZapri">
|
||||
{{ props.zapriLabel ?? 'Zapri' }}
|
||||
|
|
Loading…
Reference in New Issue