angucomplete-ALT无法键入文本 [英] angucomplete-alt unable to type in textbox
问题描述
简单的问题,在这里 - 但不能似乎找到答案。我已经加入了angucomplete-ALT到我的项目 - 我相信我已经正确添加这一切 - 这意味着,注册并具有js文件可用时,页面加载。但由于某些原因,当我点击输入,并开始类型 - 什么也没有发生。我无法在文本框中键入/输入。下面是我的code的控制。 - IM双重检查事情是如何连接起来的后端。 - 在此先感谢
和这个确切code工作在另一个项目 - 配置不同 - 但对于控件的标记是一样的。
< angucomplete-ALT ID =searchGroupsAutoComplete
占位={{searchPlaceholder}}
暂停=400
文本搜索={{searchingText}}
选定对象=selectedAnObjectFn
远程URL =/ API /搜索/ SearchByQueryStrings
远程URL的请求格式化=formatSearchDataFn
远程URL的响应格式化=formatReturnDataFn
远程URL数据字段=内容
标题字段=姓名
描述场=的EntityType
像场=ThumbnailUrl
MINLENGTH个=1/>
删除MAXLENGTH = $中输入templateCache.put标记(TEMPLATE_URL的{{最大长度}},... ..(angucomplete-alt.js)
所以它的工作,但我不知道为什么。
Simple problem here - but cant seem to find answer. I have added the angucomplete-alt to my project - I believe that I have added it all correctly - meaning, registering it and having the js file available when the page loads. But for some reason when I click on the input and start to type - nothing happens. I am unable to type in the textbox/input. below is my code for the control. - im double checking how things are wired up on the back end. - thanks in advance.
and this exact code works in another project - configured differently - but the markup for the control is the same
<angucomplete-alt id="searchGroupsAutoComplete"
placeholder="{{searchPlaceholder}}"
pause="400"
text-searching="{{searchingText}}"
selected-object="selectedAnObjectFn"
remote-url="/api/search/SearchByQueryStrings"
remote-url-request-formatter="formatSearchDataFn"
remote-url-response-formatter="formatReturnDataFn"
remote-url-data-field="Content"
title-field="Name"
description-field="EntityType"
image-field="ThumbnailUrl"
minlength="1" />
Remove maxlength="{{maxlength}}" of INPUT tag in $templateCache.put(TEMPLATE_URL,..... (angucomplete-alt.js)
so it worked, but I don't known why.
这篇关于angucomplete-ALT无法键入文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!