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
When taxonomy fields are added into content type and required property is set to true, then backend validation occurs and model state error is added into errors. But the error is not correctly bound to the model property, but on the root of the model. So the UI shows error only in validation summary and not under each taxonomy field.
Orchard Core version
2.1.4 but I believe it is from the begging of the taxonomy module.
To Reproduce
Enable taxonomy feature
Create new content type for taxonomy item
Create new taxonomy using taxonomy item type
Add 2 items into new taxonomy
Create new content type and add 3 taxonomy fields with required settings each with different display settings: one unique with standard view for radio buttons, second with multiple choice and standard view for checkboxes, third with multiple and tags view
Create new instance of content type with 3 taxonomy fields and send it without settings any taxonomy item
There will be errors in summary but not below the each taxonomy fields. And there is no red border showing that the field is in error state like it is done i other content fields.
Expected behavior
Expected behavior is to show validation error message for each invalid taxonomy field and also there should be red border showing invalid state.
Logs and screenshots
Current state after doing repro steps
Expected behavior
The text was updated successfully, but these errors were encountered:
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Describe the bug
When taxonomy fields are added into content type and required property is set to true, then backend validation occurs and model state error is added into errors. But the error is not correctly bound to the model property, but on the root of the model. So the UI shows error only in validation summary and not under each taxonomy field.
Orchard Core version
2.1.4 but I believe it is from the begging of the taxonomy module.
To Reproduce
Expected behavior
Expected behavior is to show validation error message for each invalid taxonomy field and also there should be red border showing invalid state.
Logs and screenshots
Current state after doing repro steps
Expected behavior
The text was updated successfully, but these errors were encountered: