定制 wbraganca/yii2-multiselect 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wbraganca/yii2-multiselect

Composer 安装命令:

composer require wbraganca/yii2-multiselect

包简介

The yii2-multiselect is a Yii 2 wrapper for [Bootstrap Multiselect](http://davidstutz.github.io/bootstrap-multiselect/).

README 文档

README

Latest Version Software License Total Downloads

Install

Via Composer

$ composer require "wbraganca/yii2-multiselect:~1.0.1"

or add

"wbraganca/yii2-multiselect": "~1.0.1"

to the require section of your composer.json file.

Usage

On your view file.

<?php
use wbraganca\multiselect\MultiSelectWidget;
?>

<?= MultiSelect::widget([
    'options' => [
        'multiple' => 'multiple',
    ],
    'clientOptions' => [
        'nonSelectedText' => 'Check an option!',
        'nSelectedText' => ' - Options selected!',
        'allSelectedText' => 'All',
        'selectAllText' => 'Check all!',
        'numberDisplayed' => 1,
        'enableCaseInsensitiveFiltering' => true,
        'maxHeight' => 300, // The maximum height of the dropdown. This is useful when using the plugin with plenty of options.
        'includeSelectAllOption' => true
    ],
    'data' => $cities,
    'model' => $model,
    'attribute' => 'cities',
]) ?>

For more options, visit: http://davidstutz.github.io/bootstrap-multiselect

统计信息

  • 总下载量: 23.45k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-10-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固