diff --git a/front/src/components/common/CopyInput.vue b/front/src/components/common/CopyInput.vue index 88f32a570..949a0bccb 100644 --- a/front/src/components/common/CopyInput.vue +++ b/front/src/components/common/CopyInput.vue @@ -10,11 +10,13 @@ interface Props { value: string buttonClasses?: string id?: string + label: string } const props = withDefaults(defineProps(), { buttonClasses: 'accent', - id: 'copy-input' + id: 'copy-input', + label: 'label' }) const { t } = useI18n() @@ -36,6 +38,7 @@ const { copy, isSupported: canCopy, copied } = useClipboard({ source: value, cop readonly :name="id" type="text" + :label="label" >