Closed aleswita closed 7 years ago
Sometimes i need set the items of select input like array below, so this pull request fix the problems with this solution.
$items[] = Utils\Html::el("option")->value(1)->setText("Value 1")->disabled(FALSE)->setTitle("Help text"); $items[] = Utils\Html::el("option")->value(2)->setText("Value 2")->disabled(FALSE)->setTitle("Help text"); $items[] = Utils\Html::el("option")->value(3)->setText("Value 3")->disabled(TRUE)->setTitle("Help text");
Thx :thumbsup:
Sometimes i need set the items of select input like array below, so this pull request fix the problems with this solution.