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!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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