mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
* screenshots * fix cut off sidebar * Screenshots * Screenshots * retake * fix loading data issue * retake * screenshots * Update custom-toolbar.jpg * retake * ss * retake * ss * ss * ss * ss * ss * ss * ss * ss * Update dashboard.jpg * ss * Update openable.jpg * ss * ss * ss * Update database.sqlite * Update database.sqlite * ss * ss * ss * ss * ss * ss * clean up * cs
906 B
906 B
title
| title |
|---|
| Select Blade component |
import AutoScreenshot from "@components/AutoScreenshot.astro"
Introduction
The select component is a wrapper around the native <select> element. It provides a simple interface for selecting a single value from a list of options:
<x-filament::input.wrapper>
<x-filament::input.select wire:model="status">
<option value="draft">Draft</option>
<option value="reviewing">Reviewing</option>
<option value="published">Published</option>
</x-filament::input.select>
</x-filament::input.wrapper>
To use the select component, you must wrap it in an "input wrapper" component, which provides a border and other elements such as a prefix or suffix. You can learn more about customizing the input wrapper component here.