Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to fix phx-change-loading from sticking to live file inputs #2974

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

SteffenDE
Copy link
Collaborator

The data-phx-ref and data-phx-ref-src attributes were removed from live file input elements, therefore the phx-change-loading class was never removed.

Fixes #1609

Disclaimer: I'm not sure if this is the correct solution.

@chrismccord chrismccord merged commit 52a897f into phoenixframework:main Jan 1, 2024
4 checks passed
@chrismccord
Copy link
Member

❤️❤️❤️🐥🔥

chrismccord pushed a commit that referenced this pull request Jan 17, 2024
Co-authored-by: Steffen Deusch <steffen.deusch@teaminternet.com>
SteffenDE added a commit to SteffenDE/phoenix_live_view that referenced this pull request Jan 25, 2024
chrismccord pushed a commit that referenced this pull request Jan 25, 2024
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.

Class phx-change-loading not removed after live file upload
2 participants