Skip to content

Commit a9f70ba

Browse files
committed
Update: comment
1 parent 96d0b45 commit a9f70ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Checkbox/Checkbox.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export interface CheckboxProps extends ChoiceBleedProps {
114114
error?: Error | boolean;
115115
/** Indicates the tone of the checkbox */
116116
tone?: 'magic';
117-
/** custom disable focus - for case Slot use checkbox in Combobox -> focus -> close popover*/
117+
/** Disable auto focus to input when click to checkbox*/
118118
disableFocus?: boolean;
119119
}
120120
@@ -236,6 +236,7 @@ const handleOnClick = () => {
236236
237237
model.value = inputNode.value.checked;
238238
239+
// Props use for fix case Checkbox use as slot of Combobox Component -> auto close popover when change focus
239240
if (!props.disableFocus) {
240241
inputNode.value.focus();
241242
}

0 commit comments

Comments
 (0)