Permalink
Browse files

feat(translation): add optional i18n translation to association-select

  • Loading branch information...
VMBindraban
VMBindraban committed Jul 27, 2016
1 parent d969250 commit 301101d1c7a2bff24a6918f920c5654f2b926424
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/component/association-select.html
@@ -1,6 +1,6 @@
<template>
<select class="form-control" value.bind="value" multiple.bind="multiple">
<option selected disabled.bind="!hidePlaceholder && !selectablePlaceholder" value="0" show.bind="!hidePlaceholder">${placeholderText || '- Select a value -'}</option>
<option selected disabled.bind="!hidePlaceholder && !selectablePlaceholder" value="0" show.bind="!hidePlaceholder" t="${placeholderText || '- Select a value -'}">${placeholderText || '- Select a value -'}</option>
<option model.bind="option.id" repeat.for="option of options">${option[property]}</option>
</select>
</template>

0 comments on commit 301101d

Please sign in to comment.