인풋 isLabel추가
This commit is contained in:
parent
042a8af209
commit
0a0d1b4aa5
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="mb-2 row">
|
||||
<label :for="name" class="col-md-2 col-form-label">
|
||||
<label :for="name" class="col-md-2 col-form-label" :class="isLabel ? 'd-block' : 'd-none'">
|
||||
{{ title }}
|
||||
<span :class="isEssential ? 'text-red' : 'none'">*</span>
|
||||
</label>
|
||||
@ -55,6 +55,11 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
isLabel : {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
required: false,
|
||||
},
|
||||
});
|
||||
|
||||
// Emits 정의
|
||||
|
||||
Loading…
Reference in New Issue
Block a user