-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Advanced Forms Components
These components are expected to be used within a form element. They can be used to generate formularies with advanced input fields. At next you can see the list of available components:
| Components |
|---|
| DateRange, InputColor, InputDate, InputSlider, InputSwitch, SelectBs, TextEditor |
Important: This component requires the Date Range Picker and Moment plugins, so be sure to first enable these plugins on the package configuration file. Read more on the plugins configuration section. Both plugins can be installed locally using
php artisan adminlte:plugins install --plugin=daterangepickercommand, after that you will need to include the plugins files on the configuration file.
Represents a date-range selector. This component extends from the Input Group Component, so all the attributes from it will be inherited. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
| enable-default-ranges | Enables a default set of ranges option. The string value, if any, will be used as the initial date range | string | null | no |
With the enable-default-ranges you can configure the initial date range assigning a string to the option. The current set of accepted values are: 'Today', 'Yesterday', 'Last 7 Days', 'Last 30 Days', 'This Month' or 'Last Month'.
The available configuration (for the config option) are those explained on the plugin documentation. You can assign a javascript expression to a particular configuration prepending the js: string token. All other attributes you define will be inserted directly on the underlying input element. Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-date-range name="drBasic"/>
{{-- Disabled with predefined config --}}
@php
$config = [
"timePicker" => true,
"startDate" => "js:moment().subtract(6, 'days')",
"endDate" => "js:moment()",
"locale" => ["format" => "YYYY-MM-DD HH:mm"],
];
@endphp
<x-adminlte-date-range name="drDisabled" :config="$config" disabled/>
{{-- Prepend slot and custom ranges enables --}}
<x-adminlte-date-range name="drCustomRanges" enable-default-ranges="Last 30 Days">
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-info">
<i class="fas fa-calendar-alt"></i>
</div>
</x-slot>
</x-adminlte-date-range>
{{-- Label and placeholder --}}
<x-adminlte-date-range name="drPlaceholder" placeholder="Select a date range..."
label="Date Range">
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-danger">
<i class="far fa-lg fa-calendar-alt"></i>
</div>
</x-slot>
</x-adminlte-date-range>
@push('js')<script>$(() => $("#drPlaceholder").val(''))</script>@endpush
{{-- SM size with single date/time config --}}
@php
$config = [
"singleDatePicker" => true,
"showDropdowns" => true,
"startDate" => "js:moment()",
"minYear" => 2000,
"maxYear" => "js:parseInt(moment().format('YYYY'),10)",
"timePicker" => true,
"timePicker24Hour" => true,
"timePickerSeconds" => true,
"cancelButtonClasses" => "btn-danger",
"locale" => ["format" => "YYYY-MM-DD HH:mm:ss"],
];
@endphp
<x-adminlte-date-range name="drSizeSm" label="Date/Time" size="sm" :config="$config">
<x-slot name="appendSlot">
<div class="input-group-text bg-dark">
<i class="fas fa-calendar-day"></i>
</div>
</x-slot>
</x-adminlte-date-range>
{{-- LG size with some config and add-ons --}}
@php
$config = [
"showDropdowns" => true,
"startDate" => "js:moment()",
"endDate" => "js:moment().subtract(1, 'days')",
"minYear" => 2000,
"maxYear" => "js:parseInt(moment().format('YYYY'),10)",
"timePicker" => true,
"timePicker24Hour" => true,
"timePickerIncrement" => 30,
"locale" => ["format" => "YYYY-MM-DD HH:mm"],
"opens" => "center",
];
@endphp
<x-adminlte-date-range name="drSizeLg" label="Date/Time Range" label-class="text-primary"
size="lg" :config="$config">
<x-slot name="prependSlot">
<div class="input-group-text text-primary">
<i class="fas fa-lg fa-calendar-alt"></i>
</div>
</x-slot>
<x-slot name="appendSlot">
<x-adminlte-button theme="outline-primary" label="Review" icon="fas fa-lg fa-clipboard-check"/>
</x-slot>
</x-adminlte-date-range>
To use this component you need to install and enable the required Date Range Picker and Moment plugins. You can install both plugins locally using the next command:
php artisan adminlte:plugins install --plugin=daterangepickerAfter installed, you can use the next plugin configuration as a reference:
'plugins' => [
...
'DateRangePicker' => [
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/daterangepicker/moment.min.js',
],
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/daterangepicker/daterangepicker.js',
],
[
'type' => 'css',
'asset' => true,
'location' => 'vendor/daterangepicker/daterangepicker.css',
],
],
],
...
],Finally, you need to use the @section('plugins.DateRangePicker', true) sentence on the blade file where you expect to use the component. Also, you can choose to use files from a CDN instead of installing it locally.
Important: This component requires the Bootstrap Colorpicker plugin, so be sure to first enable the plugin on the package configuration file. Read more on the plugins configuration section. The plugin can be installed locally using
php artisan adminlte:plugins install --plugin=bootstrapColorpickercommand, after that you will need to include the plugins files on the configuration file.
Represents a color picker input. This component extends from the Input Group Component, so all the attributes from it will be inherited. When you enable an addon icon, this icon will automatically be set to show the picked color. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration are those explained on the plugin documentation. All other attributes you define will be inserted directly on the underlying input element, so you can also use the data-* attributes to configure the plugin. Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-input-color name="icBasic"/>
{{-- Disabled with predefined value --}}
<x-adminlte-input-color name="icDisabled" value="rgb(50, 100, 50)" disabled/>
{{-- Append slot and data-* config --}}
<x-adminlte-input-color name="icAddon" data-color="rgb(50, 100, 150)" data-format='hex' data-horizontal=true>
<x-slot name="appendSlot">
<div class="input-group-text">
<i class="fas fa-lg fa-square"></i>
</div>
</x-slot>
</x-adminlte-input-color>
{{-- Label and placeholder --}}
<x-adminlte-input-color name="icPlaceholder" placeholder="Select a color..." label="Color">
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-light">
<i class="fas fa-lg fa-tint"></i>
</div>
</x-slot>
</x-adminlte-input-color>
{{-- SM size with custom config --}}
@php
$config = [
"color" => "#000000",
"horizontal" => true,
"format" => null,
];
@endphp
<x-adminlte-input-color name="icSizeSm" label="Fill Color" size="sm" :config="$config">
<x-slot name="appendSlot">
<div class="input-group-text bg-white">
<i class="fas fa-lg fa-fill"></i>
</div>
</x-slot>
</x-adminlte-input-color>
{{-- LG size with predefined color extension --}}
@php
$config = [
"extensions" => [
[
"name" => 'swatches',
"options" => [
"colors" => [
'black' => '#000000',
'gray' => '#888888',
'white' => '#ffffff',
'red' => '#ff0000',
'default' => '#777777',
'primary' => '#337ab7',
'success' => '#5cb85c',
'info' => '#5bc0de',
'warning' => '#f0ad4e',
'danger' => '#d9534f'
],
"namesAsValues" => true,
]
]
]
];
@endphp
<x-adminlte-input-color name="icSizeLg" placeholder="Choice a color..."
label="Brush Color" label-class="text-primary" size="lg" :config="$config">
<x-slot name="appendSlot">
<div class="input-group-text">
<i class="fas fa-lg fa-brush"></i>
</div>
</x-slot>
</x-adminlte-input-color>
To use this component you need to install and enable the required Bootstrap Colorpicker plugin. You can install the plugin locally using the next command:
php artisan adminlte:plugins install --plugin=bootstrapColorpickerAfter installed, you can use the next plugin configuration as a reference:
'plugins' => [
...
'BootstrapColorpicker' => [
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js',
],
[
'type' => 'css',
'asset' => true,
'location' => 'vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css',
],
],
],
...
],Finally, you need to use the @section('plugins.BootstrapColorpicker', true) sentence on the blade file where you expect to use the component. Also, you can choose to use files from a CDN instead of installing it locally.
Important: This component requires the Tempus Dominus and Moment plugins, so be sure to first enable these plugins on the package configuration file. Read more on the plugins configuration section. Both plugins can be installed locally using
php artisan adminlte:plugins install --plugin=tempusdominusBootstrap4command, after that you will need to include the plugins files on the configuration file.
Represents a date and time selector. This component extends from the Input Group Component, so all the attributes from it will be inherited. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration (for the config option) are those explained on the plugin documentation. You can assign a javascript expression to a particular configuration prepending the js: string token. All other attributes you define will be inserted directly on the underlying input element. Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-input-date name="idBasic"/>
{{-- Disabled with predefined value --}}
@php
$config = ['format' => 'YYYY-MM-DD'];
@endphp
<x-adminlte-input-date name="idDisabled" value="2020-10-04" :config="$config" disabled/>
{{-- Placeholder, time only and prepend icon --}}
@php
$config = ['format' => 'LT'];
@endphp
<x-adminlte-input-date name="idTimeOnly" :config="$config" placeholder="Choose a time...">
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-info">
<i class="fas fa-clock"></i>
</div>
</x-slot>
</x-adminlte-input-date>
{{-- Placeholder, date only and append icon --}}
@php
$config = ['format' => 'L'];
@endphp
<x-adminlte-input-date name="idDateOnly" :config="$config" placeholder="Choose a date...">
<x-slot name="appendSlot">
<div class="input-group-text bg-gradient-danger">
<i class="fas fa-calendar-alt"></i>
</div>
</x-slot>
</x-adminlte-input-date>
{{-- With Label --}}
@php
$config = ['format' => 'DD/MM/YYYY HH:mm'];
@endphp
<x-adminlte-input-date name="idLabel" :config="$config" placeholder="Choose a date..."
label="Datetime" label-class="text-primary">
<x-slot name="appendSlot">
<x-adminlte-button theme="outline-primary" icon="fas fa-lg fa-birthday-cake"
title="Set to Birthday"/>
</x-slot>
</x-adminlte-input-date>
{{-- SM size, restricted to current month and week days --}}
@php
$config = [
'format' => 'YYYY-MM-DD HH.mm',
'dayViewHeaderFormat' => 'MMM YYYY',
'minDate' => "js:moment().startOf('month')",
'maxDate' => "js:moment().endOf('month')",
'daysOfWeekDisabled' => [0, 6],
];
@endphp
<x-adminlte-input-date name="idSizeSm" label="Working Datetime" size="sm" :config="$config"
placeholder="Choose a working day...">
<x-slot name="appendSlot">
<div class="input-group-text bg-dark">
<i class="fas fa-calendar-day"></i>
</div>
</x-slot>
</x-adminlte-input-date>
{{-- LG size with multiple datetimes --}}
@php
$config = [
'allowMultidate' => true,
'multidateSeparator' => ',',
'format' => 'DD MMM YYYY',
];
@endphp
<x-adminlte-input-date name="idSizeLg" label="Multiple Datetimes" label-class="text-danger"
size="lg" placeholder="Multidate..." :config="$config">
<x-slot name="prependSlot">
<div class="input-group-text bg-white">
<i class="far fa-lg fa-calendar-alt text-danger"></i>
</div>
</x-slot>
</x-adminlte-input-date>
To use this component you need to install and enable the required Tempus Dominus and Moment plugins. You can install both plugins locally using the next command:
php artisan adminlte:plugins install --plugin=tempusdominusBootstrap4After installed, you can use the next plugin configuration as a reference:
'plugins' => [
...
'TempusDominusBs4' => [
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/moment/moment.min.js',
],
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js',
],
[
'type' => 'css',
'asset' => true,
'location' => 'vendor/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css',
],
],
],
...
],Finally, you need to use the @section('plugins.TempusDominusBs4', true) sentence on the blade file where you expect to use the component. Also, you can choose to use files from a CDN instead of installing it locally.
Important: This component requires the bootstrap-slider plugin, so be sure to first enable the plugin on the package configuration file. Read more on the plugins configuration section. The plugin can be installed locally using
php artisan adminlte:plugins install --plugin=bootstrapSlidercommand, after that you will need to include the plugins files on the configuration file.
Represents a slider input. This component extends from the Input Group Component, so all the attributes from it will be inherited. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| color | The slider color. One of the available html colors |
string | null |
no |
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration (for config attribute) are those explained on the plugin documentation. All other attributes you define will be inserted directly on the underlying input element, so you can also use the data-slider-* attributes to configure the plugin. Also, the standard value, min, max, step and disabled attributes are mapped as shorcuts of the respective plugin options: data-slider-value, data-slider-min, data-slider-max, data-slider-step and data-slider-enabled. Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-input-slider name="isMin"/>
{{-- Disabled --}}
<x-adminlte-input-slider name="isDisabled" disabled/>
{{-- With min, max, step and value --}}
<x-adminlte-input-slider name="isMinMax" min=5 max=15 step=0.5 value=11.5 color="purple"/>
{{-- Label, prepend icon and sm size --}}
<x-adminlte-input-slider name="isSizeSm" label="Slider" size='sm'
color='#3c8dbc' data-slider-handle="square">
<x-slot name="prependSlot">
<div class="input-group-text bg-lightblue">
<i class="fas fa-sliders-h"></i>
</div>
</x-slot>
</x-adminlte-input-slider>
{{-- With slots, range mode and lg size --}}
@php
$config = [
'handle' => 'square',
'range' => true,
'value' => [3, 8],
];
@endphp
<x-adminlte-input-slider name="isSizeLg" label='Range' size="lg"
color='orange' label-class="text-orange" :config="$config">
<x-slot name="prependSlot">
<x-adminlte-button theme="warning" icon="fas fa-minus" title="Decrement"/>
</x-slot>
<x-slot name="appendSlot">
<x-adminlte-button theme="warning" icon="fas fa-plus" title="Increment"/>
</x-slot>
</x-adminlte-input-slider>
{{-- Vertical slider with ticks --}}
@php
$config = [
'value' => 150,
'orientation' => 'vertical',
'ticks' => [0, 100, 200, 300],
'ticks_labels' => ['$0', '$100', '$200', '$300'],
];
@endphp
<x-adminlte-input-slider name="isVertical" label='Vertical' color='#77dd77'
label-class="text-olive" :config="$config"/>
To use this component you need to install and enable the required bootstrap-slider plugin. You can install the plugin locally using the next command:
php artisan adminlte:plugins install --plugin=bootstrapSliderAfter installed, you can use the next plugin configuration as a reference:
'plugins' => [
...
'BootstrapSlider' => [
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => true,
'location' => 'vendor/bootstrap-slider/bootstrap-slider.min.js',
],
[
'type' => 'css',
'asset' => true,
'location' => 'vendor/bootstrap-slider/css/bootstrap-slider.min.css',
],
],
],
...
],Finally, you need to use the @section('plugins.BootstrapSlider', true) sentence on the blade file where you expect to use the component. Also, you can choose to use files from a CDN instead of installing it locally.
Important: This component requires the Bootstrap Switch plugin, so be sure to first enable the plugin on the package configuration file. Read more on the plugins configuration section. The plugin can be installed locally using
php artisan adminlte:plugins install --plugin=bootstrapSwitchcommand, after that you will need to include the plugins files on the configuration file (onlybootstrap-switch.min.jsfile is required).
Represents a switch input. This component extends from the Input Group Component, so all the attributes from it will be inherited. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration are those explained on the plugin documentation. All other attributes you define will be inserted directly on the underlying input element, so you can also use the data-* attributes to configure the plugin. Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-input-switch name="iswMin"/>
{{-- Disabled --}}
<x-adminlte-input-switch name="iswDisabled" disabled/>
{{-- With colors using data-* config --}}
<x-adminlte-input-switch name="iswColor" data-on-color="success" data-off-color="danger" checked/>
{{-- With custom text using data-* config --}}
<x-adminlte-input-switch name="iswText" data-on-text="YES" data-off-text="NO"
data-on-color="teal" checked/>
{{-- Label, and prepend icon --}}
<x-adminlte-input-switch name="iswPrepend" label="Switch">
<x-slot name="prependSlot">
<div class="input-group-text bg-lightblue">
<i class="fas fa-toggle-on"></i>
</div>
</x-slot>
</x-adminlte-input-switch>
{{-- Label, slots and lg size --}}
@php
$config = [
'onColor' => 'orange',
'offColor' => 'dark',
'inverse' => true,
'animate' => false,
'state' => true,
'labelText' => '<i class="fas fa-2x fa-fw fa-lightbulb text-orange"></i>',
];
@endphp
<x-adminlte-input-switch name="iswSizeLG" label="Switch LG" size='lg' :config="$config">
<x-slot name="appendSlot">
<x-adminlte-button icon="fas fa-caret-right" title="On"/>
</x-slot>
<x-slot name="prependSlot">
<x-adminlte-button icon="fas fa-caret-left" title="Off"/>
</x-slot>
</x-adminlte-input-switch>
{{-- Indeterminate with icon and SM size --}}
@php
$config = [
'onColor' => 'indigo',
'offColor' => 'gray',
'onText' => '1',
'offText' => '0',
'indeterminate' => true,
'labelText' => '<i class="fas fa-power-off text-muted"></i>',
];
@endphp
<x-adminlte-input-switch name="iswSizeSM" label="Switch SM (indeterminate)"
size='sm' :config="$config" checked/>
Important: This component requires the bootstrap-select plugin, so be sure to first enable this plugin on the package configuration file. Read more on the plugins configuration section. The plugin can be installed manually on the
public/vendorfolder or you can use theCDN(read the instructions on the plugin site). Finally, you will need to include the plugins files on the configuration file.
Represents a bootstrap-select option selector. The plugin includes features like search, placeholder, and customized options. This component extends from the Input Group Component, so all the attributes from it will be inherited. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration are those explained on the plugin documentation. All other attributes you define will be inserted directly on the underlying select element, so you can also use the data-* attributes to configure the plugin (as explained on the site). Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-select-bs name="selBsBasic">
<option>Option 1</option>
<option disabled>Option 2</option>
<option selected>Option 3</option>
</x-adminlte-select-bs>
{{-- Disabled --}}
<x-adminlte-select-bs name="selBsDisabled" disabled>
<option>Option 1</option>
<option>Option 2</option>
</x-adminlte-select-bs>
{{-- With prepend slot, label and data-* config --}}
<x-adminlte-select-bs name="selBsVehicle" label="Vehicle" label-class="text-lightblue"
size="lg" data-title="Select an option..." data-live-search
data-live-search-placeholder="Search..." data-show-tick>
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-info">
<i class="fas fa-car-side"></i>
</div>
</x-slot>
<option data-icon="fa fa-fw fa-car">Car</option>
<option data-icon="fa fa-fw fa-motorcycle">Motorcycle</option>
</x-adminlte-select-bs>
{{-- With multiple slots, plugin config parameter and custom options --}}
@php
$config = [
"title" => "Select multiple options...",
"liveSearch" => true,
"liveSearchPlaceholder" => "Search...",
"showTick" => true,
"actionsBox" => true,
];
@endphp
<x-adminlte-select-bs name="selBsCategory" label="Categories" label-class="text-danger"
size='sm' :config="$config" multiple>
<x-slot name="prependSlot">
<div class="input-group-text bg-gradient-red">
<i class="fas fa-tag"></i>
</div>
</x-slot>
<x-slot name="appendSlot">
<x-adminlte-button theme="outline-dark" label="Clear" icon="fas fa-lg fa-ban text-danger"/>
</x-slot>
<option data-icon="fa fa-fw fa-running text-info" data-subtext="Running">Sports</option>
<option data-icon="fa fa-fw fa-futbol text-info" data-subtext="Futbol">Sports</option>
<option data-icon="fa fa-fw fa-newspaper text-danger">News</option>
<option data-icon="fa fa-fw fa-gamepad text-warning">Games</option>
<option data-icon="fa fa-fw fa-flask text-primary">Science</option>
<option data-icon="fa fa-fw fa-calculator text-dark">Maths</option>
</x-adminlte-select-bs>
Important: This component requires the Summernote plugin, so be sure to first enable the plugin on the package configuration file. Read more on the plugins configuration section. The plugin can be installed locally using
php artisan adminlte:plugins install --plugin=summernotecommand, after that you will need to include the plugins files (for Bootstrap 4) on the configuration file (summernote-bs4.min.jsandsummernote-bs4.min.css).
Represents a WYSIWYG editor. This component extends from the Input Group Component, so all the attributes from it will be inherited. However, the append and prepend slots used for addons are not supported. The component also defines next additional attributes:
| Attribute | Description | Type | Default | Required |
|---|---|---|---|---|
| config | Array with the plugin configuration parameters | array | [] |
no |
The available configuration are those explained on the plugin documentation. All other attributes you define will be inserted directly on the underlying textarea element (disabled and placeholder attributes are supported). Some examples:
Note: You can always make all the configuration from
Javascript/jQueryusing thenameproperty of the component as the selector for theidattribute, instead of using theconfigproperty of the component.
{{-- Minimal --}}
<x-adminlte-text-editor name="teBasic"/>
{{-- Disabled with content --}}
<x-adminlte-text-editor name="teDisabled" disabled>
<b>Lorem ipsum dolor sit amet</b>, consectetur adipiscing elit.
<br>
<i>Aliquam quis nibh massa.</i>
</x-adminlte-text-editor>
{{-- With placeholder, sm size, label and some configuration --}}
@php
$config = [
"height" => "100",
"toolbar" => [
// [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['view', ['fullscreen', 'codeview', 'help']],
],
]
@endphp
<x-adminlte-text-editor name="teConfig" label="WYSIWYG Editor" label-class="text-danger"
size="sm" placeholder="Write some text..." :config="$config"/>
Home | Installation | Updating | Usage | Basic Config | Layout Config | Menu Config | Plugins Config | Blade X-Components - Laravel-AdminTE