Skip to content

Conversation

@pepelsbey
Copy link
Member

@pepelsbey pepelsbey commented Sep 22, 2025

Description

  • Adds <form> wrapper and preventDefault handler
  • Changes the inline demo and the step-by-step guide to match

Motivation

To have a better UX: pressing Enter in the field now adds an item.

Based on the original PR mdn/content#40201

Related issues and pull requests

⚠️ Should be merged together.

@pepelsbey pepelsbey requested a review from a team as a code owner September 22, 2025 17:18
@pepelsbey pepelsbey requested review from dipikabh and removed request for a team September 22, 2025 17:18
Copy link

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@pepelsbey pepelsbey merged commit 8895c1a into mdn:main Oct 7, 2025
@pepelsbey pepelsbey deleted the shopping-list branch October 7, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants