getgrav / grav-plugin-form

Grav Form Plugin
http://getgrav.org
MIT License
53 stars 79 forks source link

Toggle fields do not save `false` if they are `toggleable` [#497] #498

Closed mahagr closed 3 years ago

mahagr commented 3 years ago

This change fixes #497 and simplifies the logic, but also requires Grav 1.7 in order to work (|string filter was made to work with boolean false).

It is possible to make this fix also in Grav 1.6 compatible way, but it gets a bit complicated.