This repository was archived by the owner on Apr 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
src/Vue3DatePicker/components Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 88 :aria-readonly =" readonly"
99 >
1010 <slot v-if =" $slots.trigger && !$slots['dp-input'] && !inline" name =" trigger" />
11- <slot
12- v-if =" $slots['dp-input'] && !$slots.trigger && !inline"
13- name =" dp-input"
14- :value =" inputValue"
15- :onInput =" handleInput"
16- :onEnter =" handleEnter"
17- :onTab =" handleTab"
18- />
19- <div v-if =" !$slots.trigger && !$slots['dp-input'] && (!inline || inlineWithInput)" class =" dp__input_wrap" >
11+ <div v-if =" !$slots.trigger && (!inline || inlineWithInput)" class =" dp__input_wrap" >
12+ <slot
13+ v-if =" $slots['dp-input'] && !$slots.trigger && !inline"
14+ name =" dp-input"
15+ :value =" inputValue"
16+ :onInput =" handleInput"
17+ :onEnter =" handleEnter"
18+ :onTab =" handleTab"
19+ :onClear =" onClear"
20+ />
2021 <input
22+ v-if =" !$slots['dp-input']"
2123 ref =" inputRef"
2224 :id =" uid ? `dp-input-${uid}` : undefined"
2325 :name =" name"
3840 ><slot name =" input-icon"
3941 /></span >
4042 <CalendarIcon
41- v-if =" !$slots['input-icon'] && !hideInputIcon"
43+ v-if =" !$slots['input-icon'] && !hideInputIcon && !$slots['dp-input'] "
4244 class =" dp__input_icon dp__input_icons"
4345 @click =" stopPropagation"
4446 />
You can’t perform that action at this time.
0 commit comments