Problem/Motivation
On field storage the form can be submitted even the "Comment type" dropdown shows no entries. This creates a comment field with an empty comment_type
.
Steps to reproduce
- Go to: Admin > Structure > Taxonomy
- Create a new vocabulary
- On the new vocabulary page click the "Manage fields" tab, then click "Add field"
- Select "Comment" from "Add a new field" dropdown, fill a field name and press "Save and continue"
- Note that the "Comment type" select is empty.
You cannot submit this form because the field has no value but if you go back to the "Manage fields" page (may requirrefresh), you'll note tha the field has been added.