I am using an option element field with '#default_value_allowed' => FALSE, and getting the error mentioned in the title. Will attach a patch.

Comments

acrollet’s picture

Status: Active » Needs review
StatusFileSize
new650 bytes

patch attached.

quicksketch’s picture

Priority: Normal » Minor
Status: Needs review » Fixed

Thanks, works for me. Committed to both branches.

acrollet’s picture

cool, thanks!

quicksketch’s picture

I'm getting ready to release Form Builder 1.0. So your fix came at a good time. I just rolled a 1.6 tag for Options Element containing only your fix and #1404988: Set default option keys to numbers and increment intellegently. It should be available in the next few minutes. :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.