anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00036
[Bug 38036] Re: SelectOptionFormControl needs special treatment when optional
What I usually do is:
$select->add_option_value_label('', '- No value -');
$select->set('required', false);
Because $form->get_control_value() returns 'null' if the specified
control is empty, this works fine. I don't think it needs any more
special treatment.
--
SelectOptionFormControl needs special treatment when optional
https://bugs.launchpad.net/bugs/38036
You received this bug notification because you are a member of Anewt
developers, which is a direct subscriber.