A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Just add custom validation to the property using the validation attributes: http://www.david-tec.com/2012/06/EPiServer-7-Preview---Using-validation-attributes/.
Frederik
Is there any way to stop a user from making a int property non-negative in EPiServer?
There is a tool for visitorGroups (DojoWidget) that can constraints the input field to not go lower than a specified value. This tool does however not work with a regular EPiServer property.
The range attribute can fix so user can't save if he inputs a value lower than what's specified, but I want to find a way to stop the user before this.