Skip to content

Commit 6420177

Browse files
pkp#9658 Add large support for FieldSelect to be consistent with text inputs on invitation pages
1 parent cfb1849 commit 6420177

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

classes/components/forms/FieldSelect.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ class FieldSelect extends Field
2323
/** @var array The options which can be selected */
2424
public $options = [];
2525

26+
/** @var string Accepts: `normal` or `large` */
27+
public $size = 'normal';
28+
2629
/**
2730
* @copydoc Field::getConfig()
2831
*/
2932
public function getConfig()
3033
{
3134
$config = parent::getConfig();
3235
$config['options'] = $this->options;
36+
$config['size'] = $this->size;
3337

3438
return $config;
3539
}

0 commit comments

Comments
 (0)