$f = $this->add("Form");$f->addField('dropdown', 'Hello!')->setValueList(array('bla1'=>'bla1', 'bla2'=>'bla2'));$f->addField('dropdown', 'Hello!')->setValueList(array('' => 'Default Value!', 'bla1'=>'bla1', 'bla2'=>'bla2'));
$f->addField('dropdown', 'Type')->setValueList(array(''=>'Choose type...', 'type1'=>'type1', 'type2'=>'type2'))->emptyValue('')->setEmptyText('Choose page type...')->setMandatory();
--
$f = $this->add("Form");
$f->addField('dropdown', 'Type')->setEmptyText("Choose page type...")->setValueList(array('terms'=>'terms', 'policy'=>'policy'))->validateNotNull("Mandatory field");Ok, this was really a bug and I have provided a patch for it here: https://github.com/atk4/atk4/pull/148Let's wait while Romans accept that.