add category input with hints
This commit is contained in:
parent
390b65cdb7
commit
6f2522ec48
|
@ -754,7 +754,7 @@ class CCPMethodEditorController extends HTMLElement{
|
|||
|
||||
renderCategoryHints(){
|
||||
const cats1 = ["Uncategorized", this.getCurrentCategory()]
|
||||
const cats = [...new Set(cats)]
|
||||
const cats = [...new Set(cats1)]
|
||||
return `
|
||||
<datalist id="categoryhints">
|
||||
${cats.map(c=>`<option value="${c}">${c}</option>`)}
|
||||
|
|
Loading…
Reference in New Issue