I was busy writing some select code for a new project and had inserted a dump call and I found that the eval populate is being called 10 times while the form is being rendered. Assuming this is true the database is being queried 10 times which seems awful excessive and unnecessary.
This is just a simple form with one dropdown element. Stick a dump in the eval populate and just return array(JHTML::_('select.option', 0, 'Please Select'));
You will see what I mean.
This is just a simple form with one dropdown element. Stick a dump in the eval populate and just return array(JHTML::_('select.option', 0, 'Please Select'));
You will see what I mean.