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

"Update Component" Action #7979

Closed
melohagan opened this issue Sep 26, 2022 Discussed in #7853 · 2 comments
Closed

"Update Component" Action #7979

melohagan opened this issue Sep 26, 2022 Discussed in #7853 · 2 comments
Labels
actions Relating to Budibase app actions enhancement New feature or request short-term

Comments

@melohagan
Copy link
Collaborator

Discussed in #7853

Originally posted by poirazis September 20, 2022
The current way of interacting with components and changing properties of them, is reactive.
We have to set a State variable, and then using a Conditional UI rule act accordingly.
This is a very useful feature.

Now, i suggest there should also be an active way, via an Action.

Scenario :
Button -> OnClick
"Update Component" Action

  • Set Icon to "loading"

  • Set container height to 500px

  • Set Button to disabled.

  • Set Image Custom CSS to " ... "

To achieve the same result, using the reactive approach, would take setting a State variable and then 4 Conditional UI rules on 4 different Components. Which makes it complicated to maintain later and keep track of this logic.

With the active approach , it would take 1 Action, with 4 parameters easy to understand and maintain.

@melohagan melohagan added enhancement New feature or request actions Relating to Budibase app actions labels Sep 26, 2022
@stale
Copy link

stale bot commented Nov 27, 2022

This issue has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the stale label Nov 27, 2022
@stale stale bot removed the stale label Apr 27, 2023
@A3DataSolutions
Copy link

+1

@shogunpurple shogunpurple closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions Relating to Budibase app actions enhancement New feature or request short-term
Projects
None yet
Development

No branches or pull requests

3 participants