Single Import configuration "Configuration name" field validation

Created on 17 July 2020, over 4 years ago
Updated 8 June 2023, over 1 year ago

Problem/Motivation

To add a validation to the "Configuration name" field when the form is submitted.

Steps to reproduce:
- Go to admin/config/development/configuration/single/import
- Ensure HTML5 validation is disabled
- Select the value "Simple configuration" for "Configuration Type" field
- Leave blank the "Configuration name" field
- Click 'Import'

Expected result:
- Error message because the "Configuration name" is a required field when using the Simple configuration type

Actual result:
- The form doesn't track an error related with the "Configuration name" field blank.

Proposed resolution

To add a validation using the form_validate form.
When the configuration name field is empty display, "The Configuration name field is required."

Remaining tasks




Commit

User interface changes

When the configuration name field is empty at /admin/config/development/configuration/single/import for an import of simple configuration dispaly, "The Configuration name field is required."

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
ConfigΒ  β†’

Last updated 3 months ago

Created by

πŸ‡§πŸ‡·Brazil igorbarato

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024