Skip to content

✅ Highlight invalid inputs on server dialog#1117

Open
tcatlas wants to merge 1 commit into
gnmyt:mainfrom
tcatlas:features/highlight-validation-issues
Open

✅ Highlight invalid inputs on server dialog#1117
tcatlas wants to merge 1 commit into
gnmyt:mainfrom
tcatlas:features/highlight-validation-issues

Conversation

@tcatlas
Copy link
Copy Markdown
Collaborator

@tcatlas tcatlas commented Feb 7, 2026

📋 Description

Adds invalid input highlighting for when the user attempts to save a server but there are validation issues. Before, the invalid input was not highlighted and only a toast appeared informing the user of some validation issue. Additionally, if the invalid input is on another tab, the tab is highlighted to indicate the user needs to switch to it and check there.

image

🚀 Changes made to ...

  • 🔧 Server
  • 🖥️ Client
  • 📚 Documentation
  • 🔄 Other: ___

✅ Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have looked for similar pull requests in the repository and found none
  • This pull request does not contain translations (translations are managed through Crowdin)

🔗 Related Issues

Related #1114

- Introduced `.is-invalid` class for input fields in IconInput, SelectBox, and ServerDialog styles.
- Updated SelectBox and TabSwitcher components to handle error states.
- Enhanced ServerDialog and its subcomponents to validate required fields and display errors.
- Refactored field validation logic in fieldConfig.js for better error handling.
@tcatlas tcatlas added the enhancement New feature or request label Feb 14, 2026
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

Development

Successfully merging this pull request may close these issues.

1 participant