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
I've discovered that for many-to-many relationships, the $input returned here always has required set to true, even when $field->isRequired() is false:
public function addInput(FieldInterface $field)
{
$callback = $this->getFieldAssignment($field);
$input = call_user_func($callback);
I've fixed this locally by adding this change immediately afterwards:
I've discovered that for many-to-many relationships, the
$input
returned here always hasrequired
set to true, even when$field->isRequired()
is false:I've fixed this locally by adding this change immediately afterwards:
Is there a reason why
$input->isRequired()
would ever not be equal to$field->isRequired()
?The text was updated successfully, but these errors were encountered: