Hi team,
if I define a default option in a select input element with a value of NULL,
var_dump($this->params);
results in an empty string instead of NULL value
array(1) { ["mandantid"]=> string(0) "" }
Code:
Select::create(array(
"name"=>"mandantSelector",
"dataStore"=>$this->dataStore("mandant"),
"defaultOption"=>array("all"=>null),
"dataBind"=>array(
"text"=>"mandantname",
"value"=>"mandantid",
),
This seems like a bug to me. I need to use it in a Select Box if the user wants to select all records without filtering to the parameter. You use this in your example "CustomerSelection.view.php".
Kind regards