popravek buga ENTER na PojemForm. Zdaj naslov ne naredi nič, na email input pa nardi submit.
parent
9aadc46355
commit
2691b43a00
|
@ -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