Content
View differences
Updated by Benjamin Bädorf about 5 years ago
### **Environment**:
Your OpenProject Version: 11
### Steps to reproduce
Create a custom field with the following settings and try to save;
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21097/content"></div></figure>
### **Actual Behavior**
If there is a minimum length > 0 set, the maximum length has to be greater than the minimum length. However, `0` should mean no restrictions, thus should always be valid.
### **Expected Behavior**
A maximum value of `0` is allowed even if the minimum is > `0`
Your OpenProject Version: 11
### Steps to reproduce
Create a custom field with the following settings and try to save;
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21097/content"></div></figure>
### **Actual Behavior**
If there is a minimum length > 0 set, the maximum length has to be greater than the minimum length. However, `0` should mean no restrictions, thus should always be valid.
### **Expected Behavior**
A maximum value of `0` is allowed even if the minimum is > `0`