salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.52k stars 2.09k forks source link

Inline edition do not validate ranges #10237

Open SinergiaCRM opened 1 year ago

SinergiaCRM commented 1 year ago

Issue

Range validation does not work on an integer field in inline edition, in which a numerical range has been defined. The problem occurs in the inline edition of any numerical field with a defined maximum and/or minimum: Inline edition does not validate that the new value is a value within the range.

However, it works correctly when editing from the edit view.

Expected Behavior

Validation should also be applied in inline edition.

Steps to Reproduce

  1. In Studio, create an integer field, with Min Value 1 and Max Value 15
  2. Add the field to the detail and list view and verify that we can add a value outside the defined range.
  3. Verify that it works correctly in the editing view.

Your Environment

gunnicom commented 1 year ago

Do the other validations work for you? Ok I did not recheck if this is fixed now https://github.com/salesagility/SuiteCRM/issues/9818