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

Add ClickName parameter on Buttons, to change value when clicked #470

Closed
Badgerati opened this issue May 1, 2023 · 0 comments · Fixed by #585
Closed

Add ClickName parameter on Buttons, to change value when clicked #470

Badgerati opened this issue May 1, 2023 · 0 comments · Fixed by #585
Labels
enhancement ⬆️ New feature or request
Milestone

Comments

@Badgerati
Copy link
Owner

When a Button is clicked, a spinner will appear to show that it is processing. What could also be useful is to have a -ClickName parameter which will change the value on the button as well, when clicked. When the processing is done, the callback to update the value back to the -DisplayName will need to occur before any actions are processed.

For example, when clicked it will go from Submit to Submitting, or from Create to Creating.

This is just for New-PodeWebButton, but potentially worth investigating Forms and Steps as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
1 participant