One way to build a Simple Form Custom Input Component
I wanted to use a Bootstrap datetime picker in my Simple Form-based form in Rails 5.1, and didn’t find a built-in solution or a how-to that exactly fit my needs. Here’s what I came up with!
I wanted to use a Bootstrap datetime picker in my Simple Form-based form in Rails 5.1, and didn’t find a built-in solution or a how-to that exactly fit my needs. Here’s what I came up with!
Post a comment