Skip to content

Commit b1b997b

Browse files
authored
docs: Update select required description (#1891)
1 parent b66883e commit b1b997b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/lib/content/api-reference/select.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const root = defineComponentApiSchema<SelectRootPropsWithoutHTML>({
9393
}),
9494
required: defineBooleanProp({
9595
default: false,
96-
description: "Whether or not the select menu is required.",
96+
description: "Whether or not the select menu is required. When `required` is `true`, a `name` attribute must also be provided so that the hidden input is rendered",
9797
}),
9898
scrollAlignment: defineEnumProp({
9999
options: ["nearest", "center"],

0 commit comments

Comments
 (0)