Skip to content

Commit

Permalink
fix: Missing the default required label style for components such as …
Browse files Browse the repository at this point in the history
…select
  • Loading branch information
imdap committed Sep 20, 2024
1 parent 38ce42c commit 471fea2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const shouldRequired = computed(() => {
}
if (isString(currentRules.value)) {
return currentRules.value === 'required';
return ['required', 'selectRequired'].includes(currentRules.value);
}
let isOptional = currentRules?.value?.isOptional?.();
Expand Down

0 comments on commit 471fea2

Please sign in to comment.