DynamicModelChoiceField doesn't render error message on submit #18916
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: needs owner
This issue is tentatively accepted pending a volunteer committed to its implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v.4.2.5
Python Version
3.11
Steps to Reproduce
While developing a plugin I realized that the DynamicModelChoiceField doesn't display an error if
required=True
and the nothing is selected. The form just doesn't submit and the view doesn't give a hint why.Expected Behavior
When both are empty the form should show an error message on submit
Observed Behavior
only the forms.ModelChoiceField shows an error message
The text was updated successfully, but these errors were encountered: