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-355] DependsOn: add alternative variations of 'visibility' action #355

Closed
liubou-masiuk opened this issue Jul 7, 2022 · 2 comments
Closed
Labels
javascript JavaScript code contribution

Comments

@liubou-masiuk
Copy link
Collaborator

Usecase 1: a field needs to be simultaneously non-submittable and hidden (or submittable made visible) depending on some condition
Usecase 2: a field needs to be cleared (but still submittable) when it is hidden

As a toolkit user
I want to be able to perform such actions easily

Ideas:

  1. add two new "alternative" actions (Usecase 1 action can be called "Active", but other suggestions are, of course, welcome)
  2. add "modes" to the current visibility action ("disable", "clear", etc). This option may be too verbose
@liubou-masiuk liubou-masiuk added the javascript JavaScript code contribution label Jul 7, 2022
@liubou-masiuk
Copy link
Collaborator Author

Per @ala-n

  1. consider splitting into 2 tickets
  2. there is a POC of the first option, we can consider adding it to dependsOn
  3. the second action can be implemented with fieldName@Delete SlingostServlet command

@ala-n
Copy link
Contributor

ala-n commented Jul 25, 2023

According to the latest discussion, this possibility is going to be resolved by the possibility of using multiple elementary actions per query, see:

@ala-n ala-n closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript JavaScript code contribution
Projects
None yet
Development

No branches or pull requests

2 participants