-
-
Notifications
You must be signed in to change notification settings - Fork 86
Checkbox
tanthammar edited this page Sep 25, 2020
·
6 revisions
Extends BaseField
The placeholder attribute becomes the checkbox label
Example:
Checkbox::make('Checkbox') //cast to boolean on model
->placeholder('The checkbox label')
->rules('boolean')
->default(1); //equivalent to checked
<x-tall-checkbox
:field="$field"
:temp-key="$temp_key"
/>
Tanthammar\TallForms\Components\Checkbox::class
- Installation
- Requirements
- v5 Upgrade Guide
- v6 Upgrade Guide
- v7 Upgrade Guide
- Support
- Quickstart
- Manual installation
- Optional
- Form component
- Field
- Field types
- Example Form
- Blade Components
- Notifications