Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EAK-428] DependsOn: "strict" parameter does not work for "validate" action #428

Open
liubou-masiuk opened this issue Mar 1, 2023 · 0 comments
Labels
bug Something isn't working DependsOn DependsOn-related logic

Comments

@liubou-masiuk
Copy link
Collaborator

Preconditions:
A dialog field is configured to have a DependsOn validation action with the "strict" parameter, e.g.

@DialogField
@PathField
@DependsOn(query = "false", action = DependsOnActions.VALIDATE, params = {
            @DependsOnParam(name = "msg", value = "Invalid value"),
            @DependsOnParam(name = "strict", value = "{Boolean}true")
})
private String path;

Steps to reproduce:
open a dialog with the field above
Expected result: the field is immediately highlighted as invalid, because "strict" parameter should validate the field at once
Actual result: the "strict" parameter has no effect - the field is validated only after the user has interacted with it

@liubou-masiuk liubou-masiuk added bug Something isn't working javascript JavaScript code contribution AEM AEM-specific competencies are involved labels Mar 1, 2023
@smiakchilo smiakchilo added DependsOn DependsOn-related logic and removed javascript JavaScript code contribution AEM AEM-specific competencies are involved labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DependsOn DependsOn-related logic
Projects
None yet
Development

No branches or pull requests

2 participants