Needs review
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2022 at 16:42 UTC
Updated:
16 Nov 2022 at 16:51 UTC
Jump to comment: Most recent
Autocompletion is not validating meaning that empty fields can be saved unless users use the autocomplete
Setup an entity reference field to use an autocomplete view as the selection widget and make it required.
Enter a value into the field for an add / edit form. DO NOT select an entry from the list.
Submit the form, see that it saves with an empty value even though it is a required field.
Add validation so that we can't save without an entity.
Add the validation - The generic selection handler already has this.
N/A
N/A
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jamesdevware commented