url editor keyboard events
This commit is contained in:
parent
ab977666e0
commit
ec4f5e2e4c
@ -1,7 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<form @submit.prevent="submit">
|
<form @submit.prevent="submit">
|
||||||
<div class="input-group shadow" role="group">
|
<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
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
class="btn btn-sm btn-outline-primary"
|
class="btn btn-sm btn-outline-primary"
|
||||||
|
Loading…
Reference in New Issue
Block a user