Skip to content

Flux select variants not rendering correctly #10

@EncoreJun

Description

@EncoreJun

Not sure whether this would go in this repo or in Statamic Livewire, please let me know!

Two things that I've noticed:

  1. ui-options aren't rendering correctly
  2. The clearable option isn't working/rendering

Here's the code I'm trying to run

<flux:select wire:model.live="category" variant="listbox" placeholder="Choose category..." clearable>
    <flux:option value="conference">Conference</flux:option>
    <flux:option value="webinar">Webinar</flux:option>
    <flux:option value="course">Course</flux:option>
    <flux:option value="workshop">Workshop</flux:option>
</flux:select>

Hooked up inside a blank Laravel app (Works fine)

Screenshot 2024-11-14 at 10 24 59 AM

Screenshot 2024-11-14 at 10 27 55 AM

Hooked up in a Statamic app using Antlers (not rendering ui-options)

Screenshot 2024-11-14 at 10 24 51 AM

Screenshot 2024-11-14 at 10 27 32 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions