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

Regression: webkitdirectory attribute no longer supported #2631

Closed
camelpunch opened this issue May 15, 2023 · 1 comment · Fixed by #2634
Closed

Regression: webkitdirectory attribute no longer supported #2631

camelpunch opened this issue May 15, 2023 · 1 comment · Fixed by #2634

Comments

@camelpunch
Copy link
Contributor

Environment

  • Elixir version (elixir -v): 1.14.3
  • Phoenix version (mix deps): 1.7.2
  • Phoenix LiveView version (mix deps): 19b7784
  • Operating system: Linux
  • Browsers you attempted to reproduce this bug on (the more the merrier): none
  • Does the problem persist after removing "assets/node_modules" and trying again? Yes/no: no

This commit appears to remove support for the webkitdirectory attribute on live_file_inputs.

Actual behavior

In my app that uses webkitdirectory, I get this warning:

warning: undefined attribute "webkitdirectory" for component Phoenix.Component.live_file_input/1

Expected behavior

No warning. The prior commit does not emit the warning.

@josevalim
Copy link
Member

We should probably list webkitdirectory as an additional :global option. Can you please send a PR?

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 a pull request may close this issue.

2 participants