Catalog ComboBoxes

<.item_text>

ConnieUI.ComboBoxes

HEEx
<div class="w-72">
  <ConnieUI.ComboBoxes.combo_box field={@field}>
    <:placeholder>Select project…</:placeholder>
    <ConnieUI.ComboBoxes.item value="p1">
      <ConnieUI.ComboBoxes.item_text>
        Northern Lights <:subtitle>Feature films</:subtitle>
      </ConnieUI.ComboBoxes.item_text>
    </ConnieUI.ComboBoxes.item>
  </ConnieUI.ComboBoxes.combo_box>
</div>

Controls

This component has no attributes the panel can set.

Docs

Renders a combo box item with primary text and an optional subtitle. The subtitle is displayed on its own line inside the dropdown, but hidden when the item is shown as the selected value in the combo box button. ## Examples <ConnieUI.ComboBoxes.item value="1"> <ConnieUI.ComboBoxes.item_text> Project Name <:subtitle>Folder Name</:subtitle> </ConnieUI.ComboBoxes.item_text> </ConnieUI.ComboBoxes.item>
Slot Slot attributes Description
inner_block *
:subtitle