Welcome to mirror list, hosted at ThFree Co, Russian Federation.

title.vue « fields « components « issue_show « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ce4baf17d09fc0aba37cfaeb6d19784248b119e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<script>
import updateMixin from '../../mixins/update';

export default {
  mixins: [updateMixin],
  props: {
    formState: {
      type: Object,
      required: true,
    },
  },
};
</script>

<template>
  <fieldset>
    <label class="sr-only" for="issuable-title"> Title </label>
    <input
      id="issuable-title"
      ref="input"
      v-model="formState.title"
      class="form-control qa-title-input"
      dir="auto"
      type="text"
      placeholder="Title"
      aria-label="Title"
      @keydown.meta.enter="updateIssuable"
      @keydown.ctrl.enter="updateIssuable"
    />
  </fieldset>
</template>