Skip to content

Releases: AppsDevTeam/nette-forms-components

v2.3.0: Adds form validation and data filtering

31 Jan 07:30

Choose a tag to compare

Adds functionality to filter validated values from a form,
excluding those with validation errors.

Improves form data handling by providing a way to retrieve
only trusted, validated data.

The validation process checks for disabled controls,
empty optional fields, and individual rule success, ensuring
data integrity and reliability.

v2.2.27: Returns named components from section

30 Jan 13:01

Choose a tag to compare

Ensures that components are returned as an associative array
where keys are the component names and values are the components
themselves. This provides more convenient access to the 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.