Skip to content

Commit b93bed5

Browse files
committed
fix: issue with stencil required
1 parent bbb7634 commit b93bed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/custom-select/custom-select.lite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ export default function DBCustomSelect(props: DBCustomSelectProps) {
640640
data-custom-validity={state._validity}
641641
data-width={props.width}
642642
data-variant={props.variant}
643-
data-required={props.required}
643+
data-required={getBooleanAsString(props.required)}
644644
data-placement={props.placement}
645645
data-selected-type={props.multiple ? props.selectedType : 'text'}
646646
data-hide-label={getHideProp(props.showLabel)}

0 commit comments

Comments
 (0)