alpine-collective / alpine-collective/alpinejs-devtools

x-model issue

Open
#151 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
596
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Reported over email

I noticed that Alpine Tools in not reflecting changes made in the DOM to inputs with x-model assigned to them.

I have tested in latest versions of Firefox and Brave on macOS 10.15.7

If I use x-text or x-html in the page, then that does work and values stay synced.

I've asked for a reproduction but the reporter hasn't got back to me, putting this in an issue, will close if no one has seen this before and reproduction steps can't be found.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by obtaining or creating a minimal Alpine.js reproduction showing DOM changes to an input with x-model not appearing in Alpine Tools, using the reported Firefox or Brave setup if possible. Trace the x-model inspection path in the DevTools extension and compare it with the working x-text or x-html cases; done means the input's changed value is reflected consistently in the tool.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.