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-378] DependsOn: add an action to setup placeholder(empty text)from query #378

Open
ala-n opened this issue Aug 5, 2022 · 1 comment
Assignees
Labels
DependsOn DependsOn-related logic

Comments

@ala-n
Copy link
Contributor

ala-n commented Aug 5, 2022

As an EAK user, I want to be able to set up a placeholder value (also known as an empty text value) for fields using the DependsOn plugin when the value is computed dynamically and depends on configuration.

Example:

    @DialogField(...)
    @TextField()
    @DependsOn(
         action = "set-placeholder",
         query = "@condition ? 'value1' : 'value2'"
    )
    private String field2;
@ala-n ala-n added the javascript JavaScript code contribution label Aug 5, 2022
@ala-n ala-n changed the title [EAK-] DependsOn: add an action to setup placeholder(empty text)from query [EAK-378] DependsOn: add an action to setup placeholder(empty text)from query Aug 5, 2022
@mhoroshko mhoroshko self-assigned this Aug 30, 2022
@smiakchilo
Copy link
Collaborator

As per recent developments, we need to make sure that placeholder is added to not just text inputs, by also PathFields, Autocompletes, maybe more - ?

@smiakchilo smiakchilo added DependsOn DependsOn-related logic and removed javascript JavaScript code contribution labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DependsOn DependsOn-related logic
Projects
Development

No branches or pull requests

3 participants