我有一個基於knockout.js的網站。 我有一個標籤輸入提交了一個多選擇元素。 所有工作正常,如果他們顯示在加載。 但是我想在用戶點擊一個按鈕時顯示它們。淘汰賽引導不上載
我該怎麼做?
感謝
<!-- ko if: state=="EDIT" -->
//the default state is not that. Here should appear the tagsinput, but if it's here, don't works
<!-- /ko -->
<input id="domains" type="text" value="" data-role="tagsinput" placeholder="Add tags" />
你能告訴我們你的代碼的一部分?一般答案:設置點擊的可見性? – Ivozor