In my login form, custom layout fields are displayed by the $field->input
variable. Unfortunately, those fields are displayed without the placeholder attribute.
Is there any way to add this attribute to the field which is displayed by variable above?
<?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field) : ?>
<?php if ($field->hidden === false) : ?>
<div class="sc-group">
<?php echo $field->input; ?>
</div>
<?php endif; ?>
<?php endforeach; ?>