feat: migrate Select with field, collection and SSR contracts
This commit is contained in:
@@ -108,7 +108,7 @@ function escape(event: KeyboardEvent) {
|
||||
:side-flip="shouldFlip"
|
||||
:collision-padding="containerPadding"
|
||||
class="hv-popover"
|
||||
data-slot="popover-content"
|
||||
:data-slot="$attrs['data-slot'] ?? 'popover-content'"
|
||||
:data-entering="entering || undefined"
|
||||
:data-exiting="exiting || undefined"
|
||||
:lang="($attrs.lang as string | undefined) ?? config?.locale.value"
|
||||
@@ -123,6 +123,7 @@ function escape(event: KeyboardEvent) {
|
||||
<component
|
||||
:is="as"
|
||||
ref="contentElement"
|
||||
:role="($attrs.role as string | undefined) ?? 'dialog'"
|
||||
:aria-label="
|
||||
($attrs['aria-label'] as string | undefined) ??
|
||||
(ctx.dialogAttrs.value['aria-label'] as string | undefined)
|
||||
|
||||
Reference in New Issue
Block a user