brino / blade-questions
Laravel Blade 表单组件
dev-main
2023-05-09 16:12 UTC
Requires
- illuminate/support: ^8.0|^9.0|^10.0
- illuminate/view: ^8.0|^9.0|^10.0
This package is auto-updated.
Last update: 2024-09-09 18:54:02 UTC
README
Laravel Blade 组件,用于快速创建表单
要求
- Laravel 8 或 9
- PHP 7 或 8
安装
composer require brino/blade-questions
使用示例
<x-question-input label="Owner" :parent="$settings" placeholder="username"></x-questions-input> <x-question-select label="Status" :options="[1 => 'Stock', 2 => 'Distribution']"></x-question-select> <x-question-checkbox :choices="[1=>'Distribution', 2=>'Stock']" label="Status"></x-question-checkbox> <x-question-radio :choices="[1=>'Yes', 0=>'No']" :parent="$settings" label="Calculate Formulas (optional)" name="calculate_formulas" tooltip="Pre-calculation of formulas in non-text file spreadsheets"></x-questions.radio>
许可证
BladeQuestions 采用 MIT 开源许可证发布,https://open-source.org.cn/licenses/MIT