2017-09-10 17:25:29 +05:30
|
|
|
<script>
|
2018-12-13 13:39:08 +05:30
|
|
|
import updateMixin from '../../mixins/update';
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
export default {
|
|
|
|
mixins: [updateMixin],
|
|
|
|
props: {
|
|
|
|
formState: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
2017-09-10 17:25:29 +05:30
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
},
|
|
|
|
};
|
2017-09-10 17:25:29 +05:30
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<fieldset>
|
2019-01-03 12:48:30 +05:30
|
|
|
<label
|
|
|
|
class="sr-only"
|
|
|
|
for="issuable-title">
|
|
|
|
Title
|
|
|
|
</label>
|
2017-09-10 17:25:29 +05:30
|
|
|
<input
|
2018-03-17 18:26:18 +05:30
|
|
|
id="issuable-title"
|
2018-11-08 19:23:39 +05:30
|
|
|
v-model="formState.title"
|
2018-12-05 23:21:45 +05:30
|
|
|
class="form-control qa-title-input"
|
2017-09-10 17:25:29 +05:30
|
|
|
type="text"
|
2018-03-17 18:26:18 +05:30
|
|
|
placeholder="Title"
|
|
|
|
aria-label="Title"
|
2017-09-10 17:25:29 +05:30
|
|
|
@keydown.meta.enter="updateIssuable"
|
2019-01-03 12:48:30 +05:30
|
|
|
@keydown.ctrl.enter="updateIssuable" />
|
2017-09-10 17:25:29 +05:30
|
|
|
</fieldset>
|
|
|
|
</template>
|