Skip to content

Available types

Alexey Dobrovolsky edited this page Sep 13, 2020 · 2 revisions

#Available types

From the box laravel-easy-form provides next types:

Html

Containing content

form - type which created automatically by builder and it contains inside other child HtmlAbstract objects.
div, tab - types can contain any child content inside.
tabs - type can contain only tab as child content.
template - type allows to append templates defined in easy_form/templates.php file.

Containing value

input, textarea - types can have text on numeric value.
select - type can have lot of values available and one or several values.
image - type for upload images, also contain checkbox with $name_delete name for image deleting.

Plugins

ckeditor - type can be applied to textarea type, plugin initialize ckeditor for element.
color_picker - type can be applied to input type, and only change for it type to 'color' and height attribute.
air_date_picker - type only add class datepicker-here to element where applied.
datetimepicker - type add class datetimepicker and initialize JS bootstrap datetimepicker.
select2 - type can be applied to select type, initialize select2 plugin to select.
select2sortable - type can be applied to select type with select2 plugin, allow to change selected options ordering in multiple select.

Clone this wiki locally