Download the PHP package dersonsena/yii2-widget-inputsaddon without Composer
On this page you can find all versions of the php package dersonsena/yii2-widget-inputsaddon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dersonsena/yii2-widget-inputsaddon
More information about dersonsena/yii2-widget-inputsaddon
Files in dersonsena/yii2-widget-inputsaddon
Package yii2-widget-inputsaddon
Short Description A Widget for Yii 2 with a simple way to group fields with bootstrap components
License BSD-3-Clause
Informations about the package yii2-widget-inputsaddon
Yii 2 - Widget for the Boostrap Inputs Addon
A Widget for Yii 2 with a simple way to group fields with bootstrap components
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the section of your composer.json
file.
Properties
This widget supports all the parameters similar to the \yii\widgets\InputWidget
widget. The following additional properties are important for the plugin configuration:
side
string
the side of the Group Addon. Possibles values:
AddonAbstract::RIGHT_SIDE
(default value);AddonAbstract::LEFT_SIDE
.
size
string
the size css class of the Group Addon. See more in: http://getbootstrap.com/components/#input-groups-sizing. Possibles values:
AddonAbstract::SIZE_DEFAULT
(default value);AddonAbstract::SIZE_LARGE
;AddonAbstract::SIZE_SMALL
;
icon
string
the icon css class or text of the Group Addon;
useIconText
boolean
if true
, the widget will render a text instead of a HTML icon
Usage Input Addon's
The implementations below can be done by widgets: AreaAddon
, EmailAddon
, MoneyAddon
, PercentAddon
and PhoneAddon
:
Usage Buttons Addon
The bootstrap Button Addons. Please, for more details, see the http://getbootstrap.com/components/#input-groups-buttons.