add rudimentary popover for checkboxes
This commit is contained in:
parent
5ad03054a9
commit
d4d73750b3
|
@ -92,13 +92,11 @@ export default function StoryForm({ genres }) {
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{
|
<Popover.Root>
|
||||||
// <Popover.Root>
|
<Popover.Trigger>
|
||||||
// <Popover.Trigger>
|
Genres
|
||||||
// Genres
|
</Popover.Trigger>
|
||||||
// </Popover.Trigger>
|
<Popover.Content>
|
||||||
// <Popover.Content>
|
|
||||||
}
|
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="genres"
|
name="genres"
|
||||||
|
@ -145,10 +143,8 @@ export default function StoryForm({ genres }) {
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{
|
</Popover.Content>
|
||||||
// </Popover.Content>
|
</Popover.Root>
|
||||||
// </Popover.Root>
|
|
||||||
}
|
|
||||||
|
|
||||||
<Button type="submit">Submit</Button>
|
<Button type="submit">Submit</Button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue