Removed validation from LookupField as it's readonly and just gets in the way of saving data in certain cases

This commit is contained in:
Jake Bentvelzen 2015-12-15 18:00:57 +11:00
parent d0b1084393
commit 65d7398c63

View File

@ -79,6 +79,16 @@ class LookupField extends DropdownField {
return parent::Field($properties);
}
/**
* Validate this field
*
* @param Validator $validator
* @return bool
*/
public function validate($validator) {
return true;
}
/**
* @return LookupField
*/