input 组件是对原生 元素的封装,提供用于输入单行文本的简单界面。">
主题
input 组件是对原生 <input> 元素的封装,提供用于输入单行文本的简单界面。
<input>
<x-filament::input.wrapper> <x-filament::input type="text" wire:model="name" /> </x-filament::input.wrapper>
要使用 input 组件,必须将其包裹在「input wrapper」组件中;该组件提供边框以及前缀、后缀等元素。关于自定义 input wrapper 组件的更多说明,请参阅此处。