Commit b7ad61fe authored by Jordan Breton's avatar Jordan Breton

Form fix

parent 9d6c1051
......@@ -51,7 +51,7 @@ final class Select implements IHTMLInput {
public function setData($data): void {
foreach($this->_fields as $field){
if($field->getValue() === $data){
if($field->getValue() == $data){
$this->_data = $data;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment