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

batch connect selection defaults #3636

Open
johrstrom opened this issue Jun 25, 2024 · 1 comment
Open

batch connect selection defaults #3636

johrstrom opened this issue Jun 25, 2024 · 1 comment

Comments

@johrstrom
Copy link
Contributor

From discourse - https://discourse.openondemand.org/t/batch-connect-form-field-defaults/3209

Basically this feature is to provide a mechanism so folks can

  • reset the form to defaults (disregarding what has been cached)
  • provide a checkbox that reads something like remember my selections that can disable caching altogether.
  • display the default values inside the field when the field is blank

One technical issue I see with this is providing defaults. Defaults are provided when the form is rendered on the server side, not the client side. So somehow the HTML has to retain what the default should be for the user to reset it back to. I.e., the form is rendered with the last cached setting, so how does the client know what the default was because the current value is from the cache?

@osc-bot osc-bot added this to the Backlog milestone Jun 25, 2024
@johrstrom
Copy link
Contributor Author

I should also note that this ticket may be split up as it's a few different things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants