diff --git a/CHANGELOG.md b/CHANGELOG.md index d022a26..0d029f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- Added support for phoenix_html `v4`. You can also continue using phoenix_html `v3`. +- Added support for phoenix_html `v4`. You can also continue using phoenix_html `v3`. To replace `Phoenix.HTML.Form` input helpers removed in phoenix_html `v4`, new components `ui_raw_input` and `ui_raw_label` were added. - Added support for bitstyles `v5.0.0`. You can continue using bitstyles_phoenix with a lower bitstyles version, or migrate your codebase to bitstyles `v5.0.0`. ### How to migrate to bitstyles `v5.0.0` diff --git a/lib/bitstyles_phoenix/component/form.ex b/lib/bitstyles_phoenix/component/form.ex index 755be56..cbfd34e 100644 --- a/lib/bitstyles_phoenix/component/form.ex +++ b/lib/bitstyles_phoenix/component/form.ex @@ -843,7 +843,7 @@ defmodule BitstylesPhoenix.Component.Form do @doc """ Renders an input, select, or textarea. - Direct usage is discouraged in favor of `ui_input` that comes with a label and errors. + Direct usage is discouraged. Use `ui_input` instead that comes with a label and errors. A `Phoenix.HTML.FormField` may be passed as argument, which is used to retrieve the input name, id, and values.