Closed (fixed)
Project:
Options Element
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2012 at 00:59 UTC
Updated:
30 Jan 2012 at 04:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchLooks like this bug is in Options Element rather than Form Builder.
Comment #2
quicksketchThe patch is pretty simple, looks like a classic case of checking for a value where "0" should be allowed, but is discarded because it evaluates to FALSE. Considering #1198142: Elements with #default_value of FALSE can't have their default value edited again (breaks Webform integration), we actually may want to allow FALSE as a default value, so this approach uses checking against NULL. Committed to both branches.