Skip to content

Releases: AppsDevTeam/nette-forms-components

v2.2.26

10 Jan 13:09

Choose a tag to compare

Merge remote-tracking branch 'origin/main'

v2.2.25: Merge pull request #10 from AppsDevTeam/add-form-switcher

12 Dec 13:38
6cd2eb4

Choose a tag to compare

v2.2.24: Moves form snippet outside the form tag

10 Nov 06:07

Choose a tag to compare

Encapsulates the form within a snippet for better control and reusability.

This allows to refresh the form independently.

v2.2.23: Redraws section unconditionally

06 Nov 17:47

Choose a tag to compare

Removes the conditional check for form validity before redrawing a section.

This ensures the section is always redrawn when the associated event is triggered, regardless of the form's validation state.

v2.2.22: Allows SubmitterControl as watchForRedraw

05 Nov 09:20

Choose a tag to compare

Extends the watchForRedraw functionality to accept a SubmitterControl instance directly, simplifying the redraw handling setup when a submitter control triggers the redraw.

This change avoids creating additional submit buttons, improving efficiency and code clarity.

v2.2.21: Improves section redraw and validation handling

04 Nov 07:01

Choose a tag to compare

Refactors section rendering to use snippets for improved redraw handling.
Ensures that sections are only redrawn when necessary.
Introduces validation scope configuration for sections and integrates it with redraw handlers.
This allows more precise control over which parts of the form are re-rendered and validated, improving performance and user experience.

v2.2.20: Enables multiple redraw handlers for sections

30 Oct 11:03

Choose a tag to compare

Allows sections to have multiple redraw handlers instead of just one.
This enables more flexible and granular control over which parts of
the form are re-rendered when certain events occur. Also prevents
controls from being rendered multiple times.

v2.2.19: Fixes section redraw logic

30 Oct 06:24

Choose a tag to compare

Updates section redraw logic to properly handle multiple redraw handlers and ensure that the `isControlInvalid` option is set correctly for ancestor sections.

Removes redundant check for control invalidity in the latte template, relying instead on the section's own invalidation status. This streamlines the redraw process and avoids unnecessary re-renders.

v2.2.18: Refactors ControlGroup to Section

28 Oct 14:30

Choose a tag to compare

Renames `ControlGroup` to `Section` to better reflect its purpose in organizing form elements.

Updates related code and templates to reflect this change.
This change provides a more semantic naming convention.

Updates toggle processing to correctly handle sections
and ensures that only BaseControl instances are processed.

v2.2.17: Enhances ControlGroup identification

28 Oct 11:37

Choose a tag to compare

Improves ControlGroup identification by using a dedicated method to generate HTML IDs.

This change ensures that ControlGroup elements are correctly identified within forms, especially when nested, by constructing unique HTML IDs based on their parentage.

Removes the duplicated constant and instead defines it in the Form class.