@fluid-topics/ft-text-field 2.2.19 → 2.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-text-field.js +4 -2
- package/build/ft-text-field.light.js +22 -20
- package/build/ft-text-field.min.js +91 -89
- package/build/models.d.ts +2 -0
- package/package.json +7 -7
package/build/ft-text-field.js
CHANGED
|
@@ -161,13 +161,15 @@ export class FtTextField extends toFtFormComponent(FtLitElement) {
|
|
|
161
161
|
renderSuggestions() {
|
|
162
162
|
if (this.suggestionsProvider) {
|
|
163
163
|
return html `
|
|
164
|
-
${repeat(this.providedSuggestions, (suggestion) => { var _a; return html `
|
|
164
|
+
${repeat(this.providedSuggestions, (suggestion) => { var _a, _b; return html `
|
|
165
165
|
<ft-text-field-suggestion part="suggestion"
|
|
166
166
|
value="${suggestion.value}"
|
|
167
167
|
?removable=${suggestion.removable} }
|
|
168
168
|
removeButtonLabel="${(_a = suggestion.removeButtonLabel) !== null && _a !== void 0 ? _a : nothing}"
|
|
169
|
+
@suggestion-selected=${(_b = suggestion.selectedHandler) !== null && _b !== void 0 ? _b : nothing}
|
|
169
170
|
>
|
|
170
|
-
${suggestion.icon ? html
|
|
171
|
+
${suggestion.icon ? html `
|
|
172
|
+
<ft-icon .value=${suggestion.icon}></ft-icon>` : nothing}
|
|
171
173
|
${suggestion.label}
|
|
172
174
|
</ft-text-field-suggestion>
|
|
173
175
|
`; })}
|