Problem/Motivation

Dependant field ajax rebuild the select options, including the "_none" options, even for required child field.
I don't think this is optimal, as it lead to "illegal choice" error if the user try to submit the form without filling the child field.

CommentFileSizeAuthor
#2 3269693-2.patch1.49 KBgiuseppe87

Comments

Giuseppe87 created an issue. See original summary.

giuseppe87’s picture

StatusFileSize
new1.49 KB

Attached a tentative patch to solve the issue.
I don't know if it's a valid approach, or there could be a better one.