BaseFormElement: '' is null for now
This commit is contained in:
parent
b3afe670c8
commit
ba47c39c51
|
@ -130,6 +130,9 @@ abstract class BaseFormElement extends BaseHtmlElement
|
|||
*/
|
||||
public function setValue($value)
|
||||
{
|
||||
if ($value === '') {
|
||||
$value = null;
|
||||
}
|
||||
$this->value = $value;
|
||||
$this->isValid = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue