Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing setting the value of select fields

  • Loading branch information...
commit 7f7f3cca1a975f67cc9ce145fdea0b68232f31df 1 parent b72a184
@areida areida authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/Synapse/Synform/Field/Select.php
View
2  classes/Synapse/Synform/Field/Select.php
@@ -47,7 +47,7 @@ public function option_attributes($value)
public function input()
{
- return Form::select($this->_attributes['name'], $this->_options, $this->_attributes['value'], $this->_attributes);
+ return Form::select($this->_attributes['name'], $this->_options, Arr::get($this->_attributes, 'value'), $this->_attributes);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.