NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist
Enhanced Yii 2 Detail View widget with special Bootstrap styles, ability to edit data, and more.
Latest stable
v1.8.7
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 25 of 25 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
25 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Enhance compatibility for PHP 8.1.
Date: 04-Mar-2022
New public property DetailView::childTableOptions .
Date: 11-Jan-2022
DetailView::childTableOptions.arrayValueToString to control array values being printed via print_r.showErrorSummary in docs.Your coding agent can read these notes before it upgrades. Set up the MCP server →
(enh #183 ): Enhancements to support Bootstrap v5.x
Date: 03-Sep-2021
(enh #183 ): Enhancements to support Bootstrap v5.x
(enh #176 ): Correct container identifier.
Date: 15-May-2020
bug #167 : Correct initBsVersion .
Date: 10-Oct-2018
initBsVersion.Enhancement for BootstrapTrait::getCssClass .
Date: 27-Sep-2018
BootstrapTrait::getCssClass.Date: 27-Sep-2018 Bump up version.
Date: 27-Sep-2018
Enhancements in parsing Bootstrap CSS classes (ref: kartik-v/yii2-krajee-base#100 ).
Date: 26-Sep-2018
(enh #166 ): Refactor code to implement kartik\base\BootstrapInterface .
Date: 23-Sep-2018
kartik\base\BootstrapInterface.Move all source code to src directory.
Date: 11-Sep-2018
src directory.Chronological ordering of issues for change log.
Date: 04-May-2017
hashVarLoadPosition property.errorSummary in error flash.INPUT_DROPDOWN_LIST constant definition.{buttons} token in mainTemplate.panelOptions and panelCssPrefix to custom style the bootstrap panel.(enh #88): Implement Krajee Dialog for prettier and better alerts and confirmation dialog.
Date: 22-Jun-2016
StarRating repo.hasErrors check.dev-master updates.form instance and custom markup in edit mode.['fieldConfig']['template'].(bug #86): Fix Inflector class dependency.
Date: 11-Jan-2016
table-condensed.(bug #73): Parse visible attribute setting.
Date: 13-Sep-2015
visible attribute setting.rowOptions and hideIfEmpty.enableEditMode = false.(enh #60): Add Czech translations.
Date: 23-Aug-2015
viewModel and editModel properties at attributes level for each attribute
which will override the model property at the widget level.hideAlerts property to control display of alerts.Use \kartik\base\WidgetTrait to initialize krajee plugin.
Date: 22-May-2015
\kartik\base\WidgetTrait to initialize krajee plugin.deleteOptions property takes in the following properties
urllabelparams: the parameters to pass to ajax based response as key value pairsconfirm: confirmation alert messageajaxSettings: the complete ajax configuration to override or append to if neededpanel-body above the DetailView.alertContainerOptions: array, the HTML attributes for the alert block container which will display any alert messages received on update or delete of record. This will not be displayed if there are no alert messages.alertWidgetOptions: array, the widget settings for each bootstrap alert displayed in the alert container block. The CSS class in options within this will be auto derived and appended.
update error messages will be displayed if you have set messages using Yii::$app->session->setFlash. The CSS class for the error block will be auto-derived based on flash message type using alertMessageSettings.delete this will be displayed based on the ajax response. The ajax response should be an object that contain the following:
alertMessageSettings, and the value must be the message content to be displayed.alertMessageSettings: The session flash or alert message type and its corresponding CSS class. Defaults to:[
'kv-detail-error' => 'alert alert-danger',
'kv-detail-success' => 'alert alert-success',
'kv-detail-info' => 'alert alert-info',
'kv-detail-warning' => 'alert alert-warning'
]
inputContainer to control HTML options and ability to use bootstrap grid column classes.headingOptions and footerOptions.> NOTE: The extension includes a BC Breaking change with v1.7.0. With this release, the template property of the yii core DetailView is not anymore su…
Date: 02-Mar-2015
panel['heading'] to be set as string or a boolean false to disable it. This will display the panel title.panel['headingOptions'] which contains HTML attributes for panel heading title. Defaults to ['class'=>'panel-title']. The following special options are recognized:
tag: defaults to h3template: defaults to {buttons}{title} where {title} will be replaced with panel['heading'] and {buttons} with the detail view action buttonspanel['footer'] to be set as string or a boolean false to disable it. This will display the panel title.panel['footerOptions'] which contains HTML attributes for panel footer title. Defaults to ['class'=>'panel-title']. The following special options are recognized:
tag: defaults to h3template: defaults to {title} where {title} will be replaced with panel['footer']{buttonContainer} at widget level to set button toolbar options.NOTE: The extension includes a BC Breaking change with v1.7.0. With this release, the
templateproperty of the yii core DetailView is not anymore supported. One can userowOptions,labelColOptions,valueColOptionsat the widget level or widgetattributeslevel to configure advanced layout functions.
(enh #27): Romanian translation added.
Date: 28-Jan-2015
(bug #23): Fix HTML5 Input type initialization.
Date: 12-Jan-2015
bug #16: Correct method for validating input widget using \kartik\base\Config.
Date: 06-Dec-2014
\kartik\base\Config.Set dependency on Krajee base components
Date: 10-Nov-2014
enh #13: Improve hide of elements and remove fade delay at initialization
Date: 19-Oct-2014
enh #10: Added animation to fade out between view and edit modes
Date: 2014-07-15
enh #1: Changed static variable references to self (kartik-v)
Date: 2014-05-15
static variable references to self (kartik-v)DetailView::INPUT_DATE_RANGE or \kartik\widgets\DateRangePickerDetailView::INPUT_SORTABLE or \kartik\sortinput\SortableInputOne column per quarter.