Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
#260 - Return element name, used for title and alias field styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Janssens committed Jan 25, 2016
1 parent 5962598 commit a31e086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libraries/joomla/form/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,6 @@ public function renderField($options = array())
$options['showonEnabled'] = true;
}

return JLayoutHelper::render($this->renderLayout, array('input' => $this->getInput(), 'label' => $this->getLabel(), 'options' => $options));
return JLayoutHelper::render($this->renderLayout, array('input' => $this->getInput(), 'label' => $this->getLabel(), 'options' => $options, 'name' => $this->element['name']));
}
}

0 comments on commit a31e086

Please sign in to comment.