Download the PHP package gromovfjodor/yii2-multiple-input without Composer
On this page you can find all versions of the php package gromovfjodor/yii2-multiple-input. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gromovfjodor/yii2-multiple-input
More information about gromovfjodor/yii2-multiple-input
Files in gromovfjodor/yii2-multiple-input
Package yii2-multiple-input
Short Description Widget for handle multiple inputs for an attribute of Yii2 framework model
License BSD-3-Clause
Informations about the package yii2-multiple-input
Yii2 Multiple input widget.
Yii2 widget for handle multiple inputs for an attribute of model and tabular input for batch of models.
Latest release
The latest stable version of the extension is v2.19.0 Follow the instruction for upgrading from previous versions
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Basic usage
For example you want to have an ability of entering several emails of user on profile page. In this case you can use yii2-multiple-input widget like in the following code
See more in single column
Advanced usage
For example you want to have an interface for manage user schedule. For simplicity we will store the schedule in json string. In this case you can use yii2-multiple-input widget like in the following code
See more in multiple columns
Clone filled rows
Using other icon libraries
Multiple input and Tabular input widgets now support FontAwesome and indeed any other icon library you chose to integrate to your project.
To take advantage of this, please proceed as follows:
- Include the preferred icon library into your project. If you wish to use fontAwesome, you can use the included FontAwesomeAsset which will integrate the free fa from their CDN;
-
Add a mapping for your preferred icon library if its not in the iconMap array of the widget, like the following;
- Set the preffered icon source
If you do none of the above, the default behavior which assumes you are using glyphicons is retained.
Documentation
You can find a full version of documentation in wiki
License
yii2-multiple-input is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.