Skip to content

Feature Request: Add Support for Warning Text #1

@vismayIO

Description

@vismayIO

Currently, the form supports error messages that prevent form submission until the errors are resolved. However, there are scenarios where users need to display warnings that inform them about potential issues without blocking form submission.

The distinction between errors and warnings is critical in many use cases:

  • Errors: Indicate issues that must be resolved before the form can be submitted.
  • Warnings: Highlight potential issues that do not block form submission but encourage users to review them.

Feature Proposal:
Add support for displaying warning text alongside existing error-handling functionality. This includes:

  • Differentiated styling for warnings and errors (e.g., different colors or icons) for better UX.
  • Ensure warnings allow form submission while errors continue to block submission.

Expected Behavior:

  • When a warning is triggered, the form displays the warning text and allows submission.
  • When an error is triggered, the form displays the error text and prevents submission until resolved.
  • Warning and error cannot exist in the same field at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions