Commit 751004c1 authored by yann300's avatar yann300 Committed by ioedeveloper

remove item from dropdown list

parent d1041c36
......@@ -487,6 +487,7 @@ module.exports = class TestTab extends ViewPlugin {
updateDirList (e) {
if (e.keyCode === 191) {
for (var o of this.uiPathList.querySelectorAll('option')) o.remove()
this.testTabLogic.dirList(this._view.el.getElementsByClassName('custom-select')[0].value).then((options) => {
options.forEach((path) => this.uiPathList.appendChild(yo`<option>${path}</option>`))
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment