Lines Matching defs:values
8 * Represents a HTML select. Please not that prefilling with input data only works for single values.
17 /** @var string[] the currently set values */
18 protected $values = [];
114 return $this->values;
116 return $this->values[0];
121 $this->values = $this->setValuesInOptGroups((array) $value);
122 if (!$this->values) {
124 $this->values = $this->setValuesInOptGroups((array) $this->getFirstOptionKey());
156 * @param string[] $values The values to be set
157 * @return string[] The values actually set
159 protected function setValuesInOptGroups($values)
165 $found = $optGroup->storeValues($values);
166 $values = array_diff($values, $found);
182 // use array notation when multiple values are allowed