Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Add a css class to a select box generated via tag / volt

I presently have: {{ select('make', makes, 'using': ['Make'],'useEmpty': true, 'emptyText': 'Select a Make', 'emptyValue': '@') }}

I want to add a css class to the generated select. How do I do it? Which is the best way to do it?

Thanks in advance: Jonathan


found the answer: {{ select('makes', makes, 'using': ['Make'],'useEmpty': true, 'emptyText': 'Select a Make', 'emptyValue': '@', 'class':'api-select') }}

Thanks All