Page MenuHomePhabricator

input type=checkbox|default=yes doesn't work
Closed, DeclinedPublic

Description

If the template already exists, while the field in that template doesn't, it's always unset.


Version: master
Severity: normal

Details

Reference
bz43428

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:07 AM
bzimport set Reference to bz43428.

This is an interesting issue. Currently in SF, defaults are never set when editing an existing page, whether or not that field (or even template) already exists. Normally I'd say that's the right behavior, since it prevents users from accidentally modifying a page's contents. However, in the case of a checkbox, which only has two possible values, maybe setting to "on" isn't any less neutral than setting to "off". I'm not sure, though - generally "off" feels like the more neutral/less "meaningful" setting. What do you think?

It didn't seem to apply even to new pages, if I remember correctly. Should investigate more.

I'm setting this to "wontfix" - on the assumption that this happens only when editing existing pages; and that thus this is expected behavior. Feel free to reopen it, though.