Skip to content

Latest commit

 

History

History
141 lines (106 loc) · 6.62 KB

CHANGE.md

File metadata and controls

141 lines (106 loc) · 6.62 KB

Change Log: yii2-editable

Version 1.7.4

Date: 27-Dec-2015

  1. (enh #84): Update Portugese translations.
  2. (enh #85): Add Greek translations.
  3. (enh #87): Add jQuery plugin destroy & create methods.
  4. (enh #88): Update Russian translations.
  5. Better fix for #64 in resetting errors.
  6. (enh #91): Add plugin option encodeOutput to encode HTML output.
  7. (enh #100): New initEditablePopover method to initialize popover for AJAX replaced editables.
  8. (enh #103): Add Czech Translations.
  9. Code optimizations for widget and JS plugin.
  10. (enh #104): Enhance jQuery events
    • New event editableBeforeSubmit that submits before ajax request
    • Enable events to be aborted and prevent default behavior by event.preventDefault() (applicable for most critical editable events)
    • Incorporate event namespace .editable on the critical events

Version 1.7.3

Date: 01-Jul-2015

  1. (enh #54): Auto guess input and set input options based on input type.
  2. (enh #56): Reset/Clear help-block error messages before next validation.
  3. (enh #57): Added translation support for Lithuanian language.
  4. (enh #3, #58): Ability to render editable content INLINE as an alternative to a POPOVER.
    • New asPopover boolean property added.
    • Enhanced inline form styles
    • INLINE templates and settings to control how content should be rendered
    • Two built in inline templates
  5. (enh #59): New buttonsTemplate property for rendering editable form action buttons (reset and submit).
  6. (enh #60): Ability to configure action button icon and label separately.
  7. (enh #61): New boolean property showButtonLabels to control the display of action button labels (will show the label as title on hover).
  8. (enh #62): Enhance footer property to include tags for '{loading}' and '{buttons}'.
  9. (bug #63): Fix renderActionButtons to correctly parse submit & reset button options.
  10. (enh #64): Better reset of error container help-block content.
  11. (enh #69): Generate default en message translation file.
  12. (enh #70): Added default en translations.
  13. (enh #73): Added Polish translations.
  14. (enh #76): Improved Spanish translations.
  15. (enh #78): Added Chinese translations.

Version 1.7.2

Date: 29-Mar-2015

  1. (enh #39): Better validation for valueIfNull.
  2. (enh #40): Enhanced styling for disabled editable button.
  3. (enh #41): Improve validation to retrieve the right translation messages folder.
  4. (enh #44): Revamp editable widget initialization and auto detection of input.
  5. (enh #47, #48): New property submitOnEnter to control save on ENTER key press.
  6. (bug #49): Throw exception when an array value is passed as key to displayValueConfig.
  7. (enh #53): Auto initialize kv-editable-input CSS for various input types and widgets.

Version 1.7.1

Date: 13-Feb-2015

  1. (bug #24): More correct displayValueConfig validation.
  2. (enh #32): Pass additional data to various editable events
    • editableSubmit: pass the editable form jquery element in addition to editable input element value
    • editableSuccess: pass ajax response data and editable form jquery element in addition to editable input element value
    • editableError: pass ajax response data editable form jquery elementin addition to editable input element value
  3. (enh #33): New ajaxSettings property that can be used to merge additional ajax settings/options for editable submission.
  4. (enh #34): Various enhancements to plugin code.
  5. (enh #35): Add French translations.
  6. Set copyright year to current.

Version 1.7.0

Date: 12-Jan-2015

  1. (bug #25): Fix options setting for PopoverX.
  2. (enh #27): Add Spanish translations.
  3. Revamp to use new Krajee base Module and TranslationTrait.
  4. Code formatting updates as per Yii2 coding style.

Version 1.6.0

Date: 22-Nov-2014

  1. (enh #15): Add Vietnamese language translations.
  2. (enh #16): Enhance dependency validation using common code base.
  3. (enh #18): Add Italian language translations.
  4. (bug #20): Fix widgets for use in Editable.
  5. (enh #21): Enhancements for rendering widgets and related styling.
  6. (enh #22): Revamp extension to work better with model validation and in EditableColumn.

Version 1.4.0

Date: 22-Oct-2014

  1. (enh #14): Raise new editableAjaxError event for errors faced via ajax
  2. New property showAjaxErrors included for the editable jQuery plugin.

Version 1.3.0

Date: 04-Sep-2014

  1. (enh #8): Enhance beforeInput & afterInput to be passed as callback functions.
  2. (enh #9): Included client plugin events editableChange, editableSubmit, editableReset, editableSuccess, and editableError.
  3. PSR4 alias change

Version 1.2.0

Date: 26-Aug-2014

  1. (enh #4): Better fix to reinitialize form error blocks for each ajax call.
  2. (enh #6): Added displayValueConfig to auto calculate display value.

Version 1.1.0

Date: 21-Aug-2014

  1. (enh #2): Enhancements to the widget for rendering and processing via Pjax.
  2. (enh #4): Reinitialize form error blocks for each ajax call.
  3. (enh #5): More correct valueIfNull and displayValue null validation check.

Version 1.0.0

Date: 27-Jul-2014

Initial release

  1. Set any readable markup on your view, DetailView, or GridView to be editable. (Under Process: The widgets \kartik\grid\GridView and \kartik\detail\DetailView widgets will be (enhanced to use this extension in a very easy way.
  2. Provides two display formats for setting up your editable content .
    • Link): Convert the editable content as a clickable link for popover.
    • Button): Do not convert the editable content to a link, but instead display a button beside it for editing content.
  3. Uses Yii 2.0 ActiveForm for editing content. Hence all features of Yii ActiveForm, including model validation rules are available.
  4. For editing the content, you can configure it to use any of the HTML inputs, or widgets available from kartik-v/yii2-widgets or other input widgets from https://github.com/kartik-v. In addition, one can also use HTML 5 inputs or any custom input widget to edit your content.
  5. Entirely control the way the form content is displayed in the popover. By default, the widget displays the input to be edited. In addition, one can place more form fields or markup before and after this default input.
  6. Uses AJAX based form submission to process quick editing of data and a seamless user experience.
  7. Uses advanced features of the yii2-popover-x extension, to control display formats for your editable popover form. This uses the (enhanced bootstrap-popover-x by Krajee.