Skip to content

Commit

Permalink
fix(CSelect): allow to disable it afterwards
Browse files Browse the repository at this point in the history
  • Loading branch information
LeBenLeBen committed Nov 20, 2022
1 parent 2d0757f commit ba9fd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chusho/lib/components/CSelect/CSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default defineComponent({
const popup = usePopup({
expanded: props.open,
expandedPropName: 'open',
disabled: props.disabled ?? toRef(formGroup.flags, 'disabled'),
disabled: props.disabled ?? formGroup.flags.disabled,
disabledPropName: 'disabled',
type: PopupType.listbox,
});
Expand Down

0 comments on commit ba9fd6d

Please sign in to comment.