url editor keyboard events
This commit is contained in:
parent
ab977666e0
commit
ec4f5e2e4c
@ -1,7 +1,13 @@
|
||||
<template>
|
||||
<form @submit.prevent="submit">
|
||||
<div class="input-group shadow" role="group">
|
||||
<input type="text" v-model="url" class="form-control" />
|
||||
<input
|
||||
type="text"
|
||||
v-model.lazy="url"
|
||||
@keyup.enter="submit"
|
||||
@keyup.esc="cancel"
|
||||
class="form-control"
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-sm btn-outline-primary"
|
||||
|
Loading…
Reference in New Issue
Block a user