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

[Bug][Workspace] "Save Changes" button not disabled when name or description exceeds maximum length #8154

Open
wanglam opened this issue Sep 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@wanglam
Copy link
Contributor

wanglam commented Sep 12, 2024

Describe the bug

When editing a workspace's name or description, the "Save Changes" button should be disabled if the entered text exceeds the maximum allowed length.

To Reproduce
Steps to reproduce the behavior:

  1. Go to an existing workspace settings page
  2. Click the "Edit" button
  3. Enter a workspace name or description that exceeds the maximum allowed length
  4. The "Save Changes" button remains enabled, allowing the invalid input to be saved

Expected behavior
The "Save Changes" button should be disabled when the workspace name or description exceeds the maximum allowed length, preventing users from saving invalid input.

OpenSearch Version
N/A

Dashboards Version
Latest main and 2.x branch

Plugins
N/A

Screenshots
image

Host/Environment (please complete the following information):
N/A

Additional context
#4944

@CCongWang
Copy link
Contributor

Thanks @wanglam for providing fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants