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

No error on missing closing tag for .live_component #1810

Closed
LostKobrakai opened this issue Dec 21, 2021 · 0 comments
Closed

No error on missing closing tag for .live_component #1810

LostKobrakai opened this issue Dec 21, 2021 · 0 comments

Comments

@LostKobrakai
Copy link
Contributor

LostKobrakai commented Dec 21, 2021

Environment

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

Actual behavior

<%= for meter <- @meters do %>
  <.live_component module={RowComponent} id={meter.meter_id} meter={meter} status={@statuses[meter.meter_id]}>
<% end %>

This silently doesn't render anything within the for.

Expected behavior

Compile time error for missing closing tag live_component.

Zurga pushed a commit to Zurga/phoenix_live_view that referenced this issue Apr 21, 2023
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

No branches or pull requests

1 participant