Closed aydinkazim closed 4 months ago
Hi, @aydinkazim . Thanks for the report. What was the solution to your issue?
Hi @lcreid, Just added these two lines:
include Phlex::Rails::Helpers::FormWith
include BootstrapForm::ActionViewExtensions::FormHelper
With these changes, the form fields started rendering correctly 🙌
I'm developing an interface with Phlex component using Ruby on Rails, and I'm using the bootstrap_form gem for forms. However, I'm facing an issue where the fields created with
f.text_field(:company_name)
are not visible unless I wrap them withplain
method. Here is an example of the code:Without the use of plain, the fields fail to render on the interface. I am seeking assistance to understand the underlying cause of this behavior. Is there a specific reason for this, or am I possibly misusing the gem? Additionally, if there's a workaround available for this issue, I would greatly appreciate any guidance.