[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
18
vendor/filament/support/docs/09-blade-components/02-input.md
vendored
Normal file
18
vendor/filament/support/docs/09-blade-components/02-input.md
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Input Blade component
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
The input component is a wrapper around the native `<input>` element. It provides a simple interface for entering a single line of text.
|
||||
|
||||
```blade
|
||||
<x-filament::input.wrapper>
|
||||
<x-filament::input
|
||||
type="text"
|
||||
wire:model="name"
|
||||
/>
|
||||
</x-filament::input.wrapper>
|
||||
```
|
||||
|
||||
To use the input 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](input-wrapper).
|
||||
Reference in New Issue
Block a user