【发布时间】:2018-08-17 14:46:30
【问题描述】:
所以我有一个易于搜索的模板:
<template name="searchBox">
<div class="">
{{> EasySearch.Autosuggest index=PlayersIndex }}
</div>
</template>
我想让输入字段看起来像这样(具有以下属性):
<input
type="text"
placeholder="Type to add new player"
ref="textInput"
/>
我尝试将属性添加到参数中,但这似乎不起作用:
{{> EasySearch.Autosuggest index=PlayersIndex type="text"}}
任何想法如何实现这一目标?
【问题讨论】:
标签: meteor meteor-blaze meteor-easy-search