-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update :text column to textarea to match intent for html generator #5963
Conversation
Thank you for catch. 🙇🏼 |
Hi @lifeiscontent, I'm not sure if we can really assume that users that specify text as column type also want a textarea necessarily? In any case we'd need to have the same behavior in the phx.gen.live generator as well. It is also really not a big change to do yourself after running the generator. Let's see what others think :) |
@lifeiscontent +1 from my side on similar update for live form. And also I suggest to update this test with additional @SteffenDE, regarding choice between input and textarea. Usually type |
@ShPakvel yep, my thoughts exactly. I'll try to follow up on this PR over the weekend. :) |
Yes, text is meant to be translated to textarea, otherwise use string. 👍 |
1f1b450
to
82dc441
Compare
alright, all updated, including tests! Thanks for the support guys :) |
@lifeiscontent I don't see phx.gen.live being updated? see phoenix/lib/mix/tasks/phx.gen.live.ex Lines 287 to 288 in dad4527
|
Update :text column to textarea to match intent for html generator
82dc441
to
afa0f34
Compare
@SteffenDE I'm not sure what happened, but it appears my work went missing during tranmission, all fixed now 😅 |
@SteffenDE bump |
Thanks for bumping! 🙌🏻 |
No description provided.