complete noob - form_with not producing forms #818
Unanswered
thisIsLoading
asked this question in
Help
Replies: 2 comments 2 replies
|
I would try using |
0 replies
|
It’s possible our adapter for |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, this is my very first attempt at phlex in rails (phlex 2). and my small brain doesnt help
i struggle completely with the simplest tasks. in this case i try to create a form:
which kinda renders as expected but under the hood has no form object in the dom. it just renders as if it were all outside a form?
what do i do wrong?
bonus question:
my poor attempt at the the time range buttons component:
fails as well as
@form.objectis nil, so the is_active check is failing with an undefined method for nil. it worked back when it was a rails partial, so i guess i have to do that differently now, but its very hard to find infos regarding this. i googled my ass off.any help is very much appreciated!
All reactions