Skip to content

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

@liubou-masiuk

Description

@liubou-masiuk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependsOnDependsOn-related logicbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions