phoenix_ui icon indicating copy to clipboard operation
phoenix_ui copied to clipboard

Phoenix.HTML.Form.hidden_input/3 doesn't exist

Open c-bik opened this issue 1 year ago • 4 comments

The following line throws an error: https://github.com/keatz55/phoenix_ui/blob/main/lib/phoenix/ui/components/hidden_input.ex#L5C36-L5C48

import Phoenix.HTML.Form, only: [hidden_input: 3]

c-bik avatar Feb 09 '24 08:02 c-bik

hidden_input has been removed from v4 of Phoenix.HTML

opsb avatar Feb 09 '24 18:02 opsb

So how do we get past this error?

ciroque avatar Mar 02 '24 19:03 ciroque

Any workarounds?

alexvinidiktov avatar Mar 28 '24 14:03 alexvinidiktov

Hi, is there a solution ?

macojaune avatar Sep 04 '24 02:09 macojaune

Apologies, I've been out of the Elixir ecosystem for well over a year. However, I've recently returned and will be shifting the scope to the ui.shadcdn.com model, focusing on components designed for easy copy-and-paste integration into your apps. In the future you'll be able to copy example code and should work, but can more easily adjust/tweak for your own use cases and/or updates.

keatz55 avatar Nov 22 '24 18:11 keatz55