--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/joomla-dev-general/efa7c5fd-6217-42e3-bc12-2eac0f0f45b6n%40googlegroups.com.
Have you tried:
$options = [];
foreach ($currency_list as $currency) {
$options[] = HTMLHelper::_('select.option', $currency, $currency);
}
return array_merge(parent::getOptions(), $options);
The option function called is in libraries/src/HTML/Helpers/Select.php and among other things trims the text.
Otherwise, what is the html output?
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
joomla-dev-gene...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/joomla-dev-general/e012a04f-e731-49ef-889f-5699044c3f32n%40googlegroups.com.