From ca1ec046c77efb6d5c05856eadcb80e988e89afb Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Thu, 18 Jul 2024 14:58:29 +0200 Subject: [PATCH] Update changelog --- CHANGELOG.md | 2 +- lib/bitstyles_phoenix/component/form.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.