Image style form - Different submit results

Created on 6 August 2017, over 7 years ago
Updated 8 July 2024, 5 months ago

Problem/Motivation

Validation error when submitting the image style edit form by focusing the Image style name textfield and then pressing Enter.

Steps to reproduce

1/ Go on the edit form of an existing image style (admin/config/media/image-styles/manage/thumbnail for example)
2/ Submit the form by clicking the "Save" button
=> Form submits without any issues
3/ Submit the form by focusing the Image style name textfield and then pressing Enter
=> A validation is triggered and an error message shows up: "Select an effect to add."

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Image module 

Last updated 17 days ago

Created by

🇷🇴Romania vdanielpop

Live updates comments and jobs are added and updated live.
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.

  • 🇮🇳India DimpleL

    Hi @vdanielpop, The submit behaviour is the same in both cases. When you hit the enter button, it triggers the first submit button, which is the "Add" button in this case. If you click the "Add" button without selecting anything, the result will be the same.

Production build 0.71.5 2024