Introduce form :action and consider input as changed if action changes to support better change tracking
v4.0.0 (2023-12-19)
This version removes deprecated functionality and moved all HTML helpers to a separate library. HTML Helpers are no longer used in new apps from Phoenix v1.7, instead it relies on function components from Phoenix.LiveView. Older applications who wish to maintain compatibility, add {:phoenix_html_helpers, "~> 1.0"} to your mix.exs and then replace use Phoenix.HTML in your applications by:
import Phoenix.HTML
import Phoenix.HTML.Form
use PhoenixHTMLHelpers
v3.3.3 (2023-10-09)
Enhancements
Allow string fields on input_changed?
v3.3.2 (2023-08-10)
Enhancements
Address deprecations in Elixir v1.16+
Deprecations
Deprecate inputs_for/2 and inputs_for/3 (without anonymous functions)
v3.3.1 (2023-02-27)
Bug fix
Set display to none on generated forms
Warn for maps with atom keys
v3.3.0 (2023-02-10)
Enhancements
Support deeply nested class lists
Implement Phoenix.HTML.Safe for URI
Implement Phoenix.HTML.FormData for Map
Bug fix
Generate unique IDs for checkboxes based on the value
Use artificial button click instead of form.submit in JavaScript to trigger all relevant events
Fix a bug where nil/false/true attributes in aria/data/phx would emit empty or literal values, such as "true" and "false". This release aligns them with all other attributes so both nil and false emit nothing. true emits the attribute with no value.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps phoenix_html from 3.3.4 to 4.1.1.
Changelog
Sourced from phoenix_html's changelog.
... (truncated)
Commits
2b222db
Release 4.1.130eee8f
Formatter640060c
Release 4.1.085c33de
Release 4.1.0adf1c38
Merge pull request #439 from phoenixframework/cm-form-action-changed323a65a
Update lib/phoenix_html/form.ex3b960be
Make josé happy304dfc3
Bump docsf7bd1f6
No need to track id5f6e91a
Consider form action and method changing as changedYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show