This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(component): always parse association-select placeholder as html
- Loading branch information
1 parent
10ad99a
commit fcbee42
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" t="${placeholderText || '- Select a value -'}">${placeholderText || '- Select a value -'}</option> | ||
<option selected disabled.bind="!hidePlaceholder && !selectablePlaceholder" value="0" show.bind="!hidePlaceholder" t="[html]${placeholderText || '- Select a value -'}">${placeholderText || '- Select a value -'}</option> | ||
<option model.bind="option.id" repeat.for="option of options">${option[property]}</option> | ||
</select> | ||
</template> |