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