Skip to content

Commit

Permalink
#9658 Add large support for FieldSelect to be consistent with text in…
Browse files Browse the repository at this point in the history
…puts on invitation pages (#10156)
  • Loading branch information
jardakotesovec authored Jul 3, 2024
1 parent 85c14c3 commit 556b210
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/components/forms/FieldSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ class FieldSelect extends Field
/** @var array The options which can be selected */
public $options = [];

/** @var string Accepts: `normal` or `large` */
public $size = 'normal';

/**
* @copydoc Field::getConfig()
*/
public function getConfig()
{
$config = parent::getConfig();
$config['options'] = $this->options;
$config['size'] = $this->size;

return $config;
}
Expand Down

0 comments on commit 556b210

Please sign in to comment.