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

[Feature] Indicate Required Fields with a Red Asterisk #880

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maxim-f1
Copy link

@maxim-f1 maxim-f1 commented Feb 8, 2025

Enhancement: Indicate Required Fields with a Red Asterisk

This update improves the SQLAdmin library's UI by adding a red asterisk (*) before the name of mandatory fields. This visual cue helps users quickly identify required fields, enhancing usability and reducing input errors.
🔹 Changes Made:

  • Added a red asterisk (*) before mandatory field labels.
  • Added explanatory tooltip for mandatory fields.
  • Added tests of new form functionality.

🎯 Why This Change?

  • Improves user experience by clearly distinguishing required fields.
  • Reduces confusion and potential form submission errors.

Let me know if any refinements are needed! 🚀

image

@maxim-f1 maxim-f1 changed the title Added a red asterisk (*) in front of the field name, which is not nullable. [Feature] Indicate Required Fields with a Red Asterisk Feb 8, 2025
@maxim-f1 maxim-f1 marked this pull request as ready for review February 8, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant