This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/components/x-select/template.hbs
Matthew Dillon dbcc51c80d WIP
2015-11-12 15:43:44 -07:00

6 lines
224 B
Handlebars

{{#if placeholder}}
<option value="">{{placeholder}}</option>
{{/if}}
{{#each listItems as |option|}}
<option value={{option.id}} selected={{equal option.id value.id}}>{{get-property option nameAttr}}</option>
{{/each}}