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

Validates and prevents save when providing a number outside of the configured range. #17991

Open
wants to merge 1 commit into
base: v15/dev
Choose a base branch
from

Conversation

AndyButland
Copy link
Contributor

@AndyButland AndyButland commented Jan 15, 2025

Prerequisites

  • I have added steps to test this contribution in the description below

Fixes: #16688

Description

When merged this PR will:

  • Present an error message when a numeric property is provided outside of the configured range.
  • Prevent publish of a content item with invalid numeric values.

To Test:

  • Create a numeric data type configured with a minimum and maximum value.
  • Use on a content item
  • Try to enter a value outside of the configured range, and confirm that:
    • An error message is displayed.
    • The content can be saved but not published.

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

Successfully merging this pull request may close these issues.

1 participant