Commit 72e999d2 authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Nathan Friend

Update deprecated slot syntax

parent 5c94a189
...@@ -45,22 +45,24 @@ export default { ...@@ -45,22 +45,24 @@ export default {
:markdown-docs-path="markdownDocsPath" :markdown-docs-path="markdownDocsPath"
:can-attach-file="canAttachFile" :can-attach-file="canAttachFile"
:enable-autocomplete="enableAutocomplete" :enable-autocomplete="enableAutocomplete"
:textarea-value="formState.description"
> >
<textarea <template #textarea>
id="issue-description" <textarea
ref="textarea" id="issue-description"
slot="textarea" ref="textarea"
v-model="formState.description" v-model="formState.description"
class="note-textarea js-gfm-input js-autosize markdown-area class="note-textarea js-gfm-input js-autosize markdown-area
qa-description-textarea" qa-description-textarea"
dir="auto" dir="auto"
data-supports-quick-actions="false" data-supports-quick-actions="false"
:aria-label="__('Description')" :aria-label="__('Description')"
:placeholder="__('Write a comment or drag your files here…')" :placeholder="__('Write a comment or drag your files here…')"
@keydown.meta.enter="updateIssuable" @keydown.meta.enter="updateIssuable"
@keydown.ctrl.enter="updateIssuable" @keydown.ctrl.enter="updateIssuable"
> >
</textarea> </textarea>
</template>
</markdown-field> </markdown-field>
</div> </div>
</template> </template>
---
title: Update deprecated slot syntax in ./app/assets/javascripts/issue_show/components/fields/description.vue
merge_request: 31979
author: Gilang Gumilar
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment