phoenix_html icon indicating copy to clipboard operation
phoenix_html copied to clipboard

Building blocks for working with HTML in Phoenix

Results 12 phoenix_html issues
Sort by recently updated
recently updated
newest added

Also opened a PR to link here in the Ecto docs: https://github.com/elixir-ecto/ecto/pull/3980

Hello! I would like to easily generate an input with a type that has no helper (for instance an `` or whatever). My idea: would it be possible to just...

With HEEx, many of the functions in this module have lost their purpose. Therefore, our goal is to remove redundant functionality from `Phoenix.HTML`. In particular, `Phoenix.HTML.Format`, `Phoenix.HTML.Link`, and `Phoenix.HTML.Tag` should...

Now that Phoenix.LiveView.HTMLFormatter can format `heex` templates, we should export the functions that can appear in a template that we don't want to force parens on. We can then import...

This PR disables all links with a method other than `:get` until PhoenixHTML is loaded (= the expected behaviour is ready), to avoid issueing a wrong GET call if somehow...

…t listeners will not be duplicated. @josevalim @chrismccord Alternate method of fixing #284. The downside here is that we have introduced a global module. LMKWYT.

…phx_loaded boolean flag that is set after setup. Prevents event handlers from being set multiple times in case of libraries like turbolinks which would run this code several times. @josevalim...

If you're using something like turbolinks, `phoenix_html` may get loaded multiple times. This leads to a situation where users will have to click the confirm dialog over and over to...

I'm attempting to upgrade from 3.3.3 to 4.0.0, which has major breaking changes. The [Changelog](https://github.com/phoenixframework/phoenix_html/blob/main/CHANGELOG.md#v400-2023-12-19) gives instructions for adding [a new dependency](https://hexdocs.pm/phoenix_html_helpers/PhoenixHTMLHelpers.html) to maintain compatibility. > ## v4.0.0 (2023-12-19) >...

With the new FormData implementation for plain maps I tried to set errors on nested inputs, but it looks like errors are not handled for nested inputs.