You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Orchard Core 2.1.5, the validation error styling for required fields is inconsistent across different field types. While text and date fields correctly display a red border when validation fails, the Content Picker field does not show the error border when it is required but left empty.
Orchard Core version
2.1.5
To Reproduce
Add a Content Picker field to a Content Type.
Mark the field as Required in its settings.
Create a new Content Item of this type and leave the Content Picker field empty.
Try to save the form.
Expected behavior
The Content Picker field should display a red error border similar to text and date fields when validation fails.
Logs and screenshots
The text was updated successfully, but these errors were encountered:
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs.
This is indeed an issue. I guess it's because while the other two are simple text inputs, the Content Picker is not, and thus needs specific support for this.
Describe the bug
In Orchard Core 2.1.5, the validation error styling for required fields is inconsistent across different field types. While text and date fields correctly display a red border when validation fails, the Content Picker field does not show the error border when it is required but left empty.
Orchard Core version
2.1.5
To Reproduce
Expected behavior
Logs and screenshots
The text was updated successfully, but these errors were encountered: