reg2005/oc-range
Composer 安装命令:
composer require reg2005/oc-range
包简介
Widget range for october CMS
README 文档
README
How to use:
1. Just add into your plugin or project composer.json:
{ "require": { "reg2005/oc-range": "1.0.*" } }
2. Go to your october project directory use terminal, and run command:
composer update
3. Add to your Plugin.php this:
public function registerFormWidgets() { return [ 'reg2005\Widgets\Range\Widget' => [ 'label' => 'range', 'code' => 'range' ] ]; }
ADD to your fields.yaml something like:
money: customLabel: Price type: range default: 300 minMax: min: - 50 10%: - 500 - 1000 20%: - 1500 - 2000 50%: - 4000 - 6000 60%: - 6000 - 10000 max: - 10000 span: full
OR:
money: customLabel: Price type: range default: 300 minMax: min: 50 max: 1000 span: full
统计信息
- 总下载量: 824
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-24
