Form Advanced

Select2

Single Select

Select2 can take a regular select box like this...

Multiple Select

Select2 can take a regular select box like this...

Auto Complete

Ajax Lookup

Your awesome text goes here

Local Lookup and Grouping

Your awesome text goes here

Tags Input

Input Tags

Just add data-role="tagsinput"to your input field to automatically change it to a tags input field.

True multi value

Use a <select multiple />as your input element for a tags input, to gain true multivalue support. Instead of a comma separated string, the values will be set in an array. Existing <option /> elements will automatically be set as tags. This makes it also possible to create tags containing a comma.

Switchery

Basic

Add an attribute data-plugin="switchery" data-color="@colors" to your input element and it will be converted into switch.

Sizes & Secondary color

Add an attribute data-size="small",data-size="large" to your input element and it will be converted into switch. Add an attribute data-color="@color" data-secondary-color="@color" to your input element and it will be converted into switch.

Bootstrap MaxLength

Default usage

The badge will show up by default when the remaining chars are 10 or less:

Threshold value

Do you want the badge to show up when there are 20 chars or less? Use the thresholdoption:

All the options

Please note: if the alwaysShowoption is enabled, the thresholdoption is ignored.

Position

All you need to do is specify the placementoption, with one of those strings. If none is specified, the positioning will be defauted to 'bottom'.

textareas

Bootstrap maxlength supports textarea as well as inputs. Even on old IE.

Bootstrap TouchSpin

You can limit the number of elements you are allowed to select via the data-max-option attribute. It also works for option groups.

Using data attributes

Example with postfix (large)

With prefix

Init with empty value:

Value attribute is not set (applying settings.initval)

Value is set explicitly to 33 (skipping settings.initval)

Bootstrap-select

Create your <select> with the .selectpicker class.

It also works with option groups:

You can also show the tick icon on single selectwith the show-tickclass:

And with multiple selects:

You can limit the number of elements you are allowed to select via the data-max-option attribute. It also works for option groups.

You can limit the number of elements you are allowed to select via the data-max-option attribute. It also works for option groups.











Add an icon to an option or optgroup with the data-iconattribute:

You can add a search input by passing data-live-search="true"attribute:

You can also use the titleattribute as an alternative to display when the option is selected:

Using the data-selected-text-formatattribute on a multiple select you can specify how the selection is displayed.



Add the disabledattribute to the select to apply the disabledclass.

Bootstrap FileStyle

You can limit the number of elements you are allowed to select via the data-max-option attribute. It also works for option groups.

Default file input

File style without input

File style without icon

File style with custom text

File style with button style

Small file style

File style with custom icon

Disable file style

File style before button

File style placeholder

2026© Adminox. - Coderthemes.com

彩票联盟极速赛马计划

彩票联盟致力于为广大彩友提供专业的火爆极速赛马稳健倍投计划信息与交流平台。在这里,您可以获取最新的赛马资讯,学习有效的投注技巧,与其他彩友分享经验,共同探讨稳定盈利的方法。无论您是初入彩票的新人还是资深的购彩者,均能在我们的网站找到适合自己的投注方案,提升您的购彩体验,助力您在火热的赛马赛事中实现稳健回报