Releases: AppsDevTeam/nette-forms-components
Releases · AppsDevTeam/nette-forms-components
v2.3.0: Adds form validation and data filtering
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
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
v2.2.25: Merge pull request #10 from AppsDevTeam/add-form-switcher
Add form switcher
v2.2.24: Moves form snippet outside the form tag
Encapsulates the form within a snippet for better control and reusability. This allows to refresh the form independently.
v2.2.23: Redraws section unconditionally
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
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
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
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
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.