summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show/components/fields/confidential_checkbox.vue
blob: a0ff08e91110b676ffc15716308b6e9781a65fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script>
  export default {
    props: {
      formState: {
        type: Object,
        required: true,
      },
    },
  };
</script>

<template>
  <fieldset class="checkbox">
    <label for="issue-confidential">
      <input
        type="checkbox"
        value="1"
        id="issue-confidential"
        v-model="formState.confidential" />
      This issue is confidential and should only be visible to team members with at least Reporter access.
    </label>
  </fieldset>
</template>