Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

dotCMS/core#22104 fix dot-md-icon-selector-being-activated-on-form-submit #1970

Conversation

alfredo-dotcms
Copy link
Contributor

When you are creating/ copying a content type and you press the enter key, we are moving to the icon field and not creating the new content type directly.

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Additional Info

** any additional useful context or info **

Screenshots

Original Updated
** original screenshot ** ** updated screenshot **

@@ -210,6 +210,7 @@ export class DotMaterialIcon {
<button
class="dot-material-icon__button"
role="button"
type="button"
Copy link
Member

@fmontes fmontes May 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A) Does this fix this behavior in the copy content type as well?

B) Do we have to do extra work every time we use this web component in a form?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A) Yes

B) No

@nollymar nollymar merged commit 192507d into master May 3, 2022
@delete-merged-branch delete-merged-branch bot deleted the issue-22104-dot-md-icon-selector-being-activated-on-form-submit branch May 3, 2022 21:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants