|
|
@ -48,6 +48,7 @@ |
|
|
|
<select name="<?= $name; ?>" class="custom-select" <?= $required; ?>>
|
|
|
|
<select name="<?= $name; ?>" class="custom-select" <?= $required; ?>>
|
|
|
|
<?php foreach($this->dropdownData[$key] as $dropdownKey => $value) { ?> |
|
|
|
<?php foreach($this->dropdownData[$key] as $dropdownKey => $value) { ?> |
|
|
|
<option value="<?= $dropdownKey; ?>"
|
|
|
|
<option value="<?= $dropdownKey; ?>"
|
|
|
|
|
|
|
|
<?= ($dropdownKey == 0) ? 'disabled' : ''; ?> |
|
|
|
<?= $this->model->$name == $dropdownKey ? 'selected' : ''; ?>>
|
|
|
|
<?= $this->model->$name == $dropdownKey ? 'selected' : ''; ?>>
|
|
|
|
<?= $value; ?> |
|
|
|
<?= $value; ?> |
|
|
|
</option> |
|
|
|
</option> |
|
|
|