How to use simple_form_for with phlex? #973
Answered
by
joeldrapper
janpeterka
asked this question in
Help
|
Maybe stupid question, but I didn't manage to use simple_form_for helper to phlex views. , which doesn't render the inputs (tried using both Then I tried changing to Is it possible to use |
Answered by
joeldrapper
Jan 28, 2026
Replies: 1 comment 3 replies
|
It really depends how simple form is built, but I expect it’s similar to It might just work if you register a builder yielding helper like we do for form_with. register_builder_yielding_helper :simple_form_forThe simplest option might be to wrap simple form in partials and render those from Phlex. |
3 replies
Answer selected by
janpeterka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It really depends how simple form is built, but I expect it’s similar to
form_with, which is a nightmare to support.It might just work if you register a builder yielding helper like we do for form_with.
The simplest option might be to wrap simple form in partials and render those from Phlex.