fix: repair room type field label context
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
<input {...props} type="hidden" bind:value={$data.type} />
|
||||
{/snippet}
|
||||
</Form.Control>
|
||||
<Form.Label>Type</Form.Label>
|
||||
<span id={`${idPrefix}-type-label`} class="text-sm leading-none font-medium">Type</span>
|
||||
<Tabs.Root bind:value={$data.type} class="gap-3">
|
||||
<Tabs.List class="grid h-9 w-full grid-cols-3">
|
||||
<Tabs.List aria-labelledby={`${idPrefix}-type-label`} class="grid h-9 w-full grid-cols-3">
|
||||
{#each roomTypes as roomType (roomType.value)}
|
||||
<Tabs.Trigger value={roomType.value} class="h-full px-2 text-center">
|
||||
{roomType.label}
|
||||
|
||||
Reference in New Issue
Block a user