Problem/Motivation
I'm working with a content type imported from a Drupal 7 site. All of the component labels started out blank. We don't use the Credentials component, so I left it unchecked. I ended up unable to save the field edit form, but with no indication of a problem. I turned on the Javascript console in Chrome and saw this error:
An invalid form control with name='settings[labels][credentials]' is not focusable.
I had to turn on the component and fill in the Label value. Then I could turn off the component and submit the form.
Steps to reproduce
Create a Name field. Set the label field for a component to blank and then turn off that component (uncheck the checkbox for it) so that all of the related fields for that component are no longer displayed. Try to submit the form.
Issue fork name-3258091
Show commands
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 #2
bluegeek9 commentedI was able to reproduce the issue.
I believe the issue is caused by the label field for credentials is required. When the component is disabled the error message for the empty label fails.
Comment #4
santanu mondal commentedWorking on it..
Comment #6
santanu mondal commentedComment #7
bluegeek9 commentedThe error "Label for Credentials field is required." still occurs
Comment #9
bluegeek9 commentedComment #11
bluegeek9 commented