cakephp3-bootstrap-helpers icon indicating copy to clipboard operation
cakephp3-bootstrap-helpers copied to clipboard

Bootstrap 4 custom radio/checkbox

Open Erwane opened this issue 5 years ago • 3 comments

  • [ ] bug

  • [x] enhancement

  • [ ] question

  • Plugin Version/Branch: dev-4.0.1-alpha.

Bootstrap 4 include nice custom radio and checkbox inputs This could be integrated as template and option of radio and checkbox types ?

https://getbootstrap.com/docs/4.3/components/forms/#custom-forms

Thanks

Erwane avatar Oct 16 '19 13:10 Erwane

Thanks for the idea, I was pretty sure to have started implementing these some times ago but I can't find anything in the history...

  • The custom file browser is already implemented but might be out-of-date.
  • The custom select should be easy to implement as it is simply a different template (replacing form-control with custom-select).
  • The standard range is not implemented, so I'll have to see how to implement this first, and then having custom range should not be complicated.
  • The three other ones (checkbox / radio / switch) are pretty similar, and likely a bit more complicated as I need to customize the label classes for these, I'll have to see what can be done. One possibility is to use different instance of the standard widgets, with different templates.

Holt59 avatar Oct 16 '19 14:10 Holt59

"non related" question but why not create a real v4 branch ? bootstrap 4 is no more in alpha now

Erwane avatar Oct 16 '19 16:10 Erwane

@Erwane The -alpha is (was) about the helpers being in version alpha, not Bootstrap :) According to packagist, there is between 15 and 20 daily installs of these, so I think we can move them out of alpha.

Holt59 avatar Oct 16 '19 16:10 Holt59