Project

General

Profile

Actions

User story #8541

closed

User story #8228: Add constraints to ncf parameters

default constraint are not kept if constraint are defined

Added by Vincent MEMBRÉ over 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

If i define a min_length constraint, default constraint 'whitespace: false' and 'empty: false' are not kept allowing empty string and leading whitespace.

We should extend default constraint instead of using an empty dict

Actions

Also available in: Atom PDF