26 parent::__construct( $config );
29 if ( isset( $config[
'default'] ) ) {
30 $this->usersArray = $config[
'default'];
32 if ( isset( $config[
'name'] ) ) {
33 $this->inputName = $config[
'name'];
35 if ( isset( $config[
'placeholder'] ) ) {
36 $this->inputPlaceholder = $config[
'placeholder'];
39 $textarea =
new MultilineTextInputWidget( [
40 'name' => $this->inputName,
41 'value' => implode(
"\n", $this->usersArray ),
44 $this->prependContent( $textarea );