Skip to content

Conversation

@pepelsbey
Copy link
Member

@pepelsbey pepelsbey commented Sep 26, 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 #40201

Related issues and pull requests

⚠️ Should be merged together.

@pepelsbey pepelsbey requested a review from dipikabh September 26, 2025 10:08
@pepelsbey pepelsbey requested a review from a team as a code owner September 26, 2025 10:08
@github-actions github-actions bot added Content:Learn Learning area docs size/s [PR only] 6-50 LoC changed labels Sep 26, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

Preview URLs

(comment last updated: 2025-10-07 15:50:21)

@sideshowbarker sideshowbarker removed the request for review from a team September 28, 2025 05:47
Copy link
Contributor

@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.

Thanks for the improvements!
I've added a few suggestions for you to consider

Co-authored-by: Dipika Bhattacharya <[email protected]>
@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Oct 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

This pull request has merge conflicts that must be resolved before it can be merged.

pepelsbey and others added 5 commits October 6, 2025 17:38
Co-authored-by: Dipika Bhattacharya <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
@pepelsbey pepelsbey requested review from Copilot and dipikabh and removed request for Copilot October 6, 2025 15:46
Copy link
Contributor

@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.

Thanks!

@github-actions github-actions bot removed the merge conflicts 🚧 [PR only] label Oct 7, 2025
@pepelsbey pepelsbey merged commit 4d1f712 into mdn:main Oct 7, 2025
8 checks passed
@pepelsbey pepelsbey deleted the shopping-list branch October 7, 2025 15:51
pepelsbey added a commit to mdn/learning-area that referenced this pull request Oct 7, 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

- [x] mdn/content#41304

⚠️ Should be merged together.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Learn Learning area docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants