Skip to content

v4.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 16:53
· 16 commits to master since this release

Added

  • Independent add and edit dialog templates with cloned layouts, named field slots, identifier remapping, and the existing field validation and persistence behavior.
  • Optional deletion details for single and multiple selected records, rendered as plain text or application-provided DOM content.
  • Synchronous before-open, render, and close callbacks with structured context, plus cancelable before-open and dialog-render events.
  • Explicit Bootstrap and Foundation selection and optional native browser dialogs with feature detection, scoped styles, and no additional runtime dependencies.
  • Examples 18 and 19 and a dialog guide covering custom layouts, deletion summaries, lifecycle callbacks, framework selection, and browser compatibility.

Changed

  • Separate dialog shell construction, framework selection, and language validation from the dialog controller, and share add/edit field population.
  • Include the native dialog browser requirement message in all bundled translations.

Fixed

  • Select2 multiple-selection placeholders use consistent alignment, spacing, and font sizing without overflowing the control. Dialog input spacing and placeholder contrast are consistent in light and dark modes.
  • Opening callbacks cannot redirect edits or deletions to another record after a table replacement. Missing targets reject opening, and canceled openings preserve existing field plugins.
  • Native dialog templates have consistent field spacing and scroll long forms while keeping the title and actions visible. Example 19 demonstrates typed fields, Select2, selection, and custom table rendering.
  • Fast Bootstrap saves wait for the show transition before closing. Opening during a close transition is rejected until closure completes.
  • Explicit Foundation dialogs avoid Bootstrap component classes and dismiss handlers when both frameworks are loaded.