
Originally Posted by
badarac
I understand that the text boxes have the placeholder. This is a minor formatting issue which resulted from bootstrap. It caused the * added to required dropdowns to move to a new line. The solution is to use col-11 to allow space for the * on the dropdowns.
Code:
<select class="custom-select col-11" name="zone_country_id" id="country">
Here's the change I made to includes/classes/observers/ZcaBootstrapObserver.php. It affects all pull downs not just required.
PHP Code:
case 'NOTIFY_ZEN_DRAW_PULL_DOWN_MENU':
$field = $p2;
if (strpos($field, 'class="') !== false) {
$field = str_replace('class="', 'class="custom-select col-11', $field);
} else {
$field = str_replace('<select ', '<select class="custom-select col-11" ', $field);
}
$p2 = $field;
break;