We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
phoenix changelog
Here's a peek at the latest and greatest updates that have been made to our project, bringing you smoother experiences and more intuitive interfaces. Let's dive in! 🚀
Improvement: Update Text Input to Textarea
We've given our HTML generator a little makeover! 🎨 The input type for text fields is now a textarea instead of a plain old text input. This change is all about making life easier for those who need to input multi-line text. It's now live in both phx.gen.html.ex
and phx.gen.live.ex
files, ensuring a consistent experience across the board. Plus, we've jazzed up our test files (phx.gen.html_test.exs
and phx.gen.live_test.exs
) to make sure everything works like a charm. This tweak is all about making your user interface more intuitive and user-friendly. Enjoy the enhanced usability! 🌟
Included Commits
The commit updates the HTML generator in the Phoenix framework to change the input type for text fields from a standard text input to a textarea. This modification reflects the intended use of a textarea for fields that require multi-line text input, enhancing the user interface and improving usability. The changes were made in both the phx.gen.html.ex
and phx.gen.live.ex
files, ensuring that the updated input type is consistently applied across different contexts.
Additionally, the commit includes updates to test files, phx.gen.html_test.exs
and phx.gen.live_test.exs
, to verify that the generator correctly creates the textarea for the content field in generated forms. The tests confirm that the generated code includes the appropriate HTML structure for a textarea, ensuring that the functionality aligns with the intended design and user experience. Overall, this commit enhances the HTML generation process by aligning it more closely with user needs.
Files changed
- lib/mix/tasks/phx.gen.html.ex
- lib/mix/tasks/phx.gen.live.ex
- test/mix/tasks/phx.gen.html_test.exs
- test/mix/tasks/phx.gen.live_test.exs