Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
feat(translation): add optional i18n translation to association-select
Browse files Browse the repository at this point in the history
  • Loading branch information
VMBindraban committed Jul 27, 2016
1 parent d969250 commit 301101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/association-select.html
Original file line number Diff line number Diff line change
@@ -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.