FormHelper minimized Boolean attributes being dicarded

2013-09-19 Thread Ben Kennedy
Morning all, CakePHP 2.4.1 seems to drop boolean html attributes in some cases and not others. If I use $this-Form-create(Recipe, array('data-attribute'='')); Then Cakephp (2.4.1) will correctly output form action='..' data-attribute If I try the same on an input, for example:

Re: FormHelper minimized Boolean attributes being dicarded

2013-09-19 Thread euromark
If is the case that it behaves different in same cases you might want to open a ticket - as this is then a bug. Also, the book probably should be updated to show the html5 boolean representation of such fields. If you can, please open a PR with the proposed changes at github Am Donnerstag,