From 0645967974ab6ac4e834b5640bf7812b4f32808e Mon Sep 17 00:00:00 2001 From: Roald Christesen Date: Thu, 12 Oct 2023 16:41:49 +0200 Subject: [PATCH] removed codeblock according merge request --- src/components/districtSelect.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/components/districtSelect.js b/src/components/districtSelect.js index 5baa2cc..7644c45 100644 --- a/src/components/districtSelect.js +++ b/src/components/districtSelect.js @@ -26,21 +26,9 @@ export default class DistrictSelect extends Component { this.e.addEventListener(item.event, () => item.handler(this)) }) } - - /* if (typeof this.onChange === 'function') { - const func = this.onChange - const component = this - const value = this.value - this.e.addEventListener('change', function() { - func(component, value) - }) - } -*/ } setWithData(data) { - // const selectElement = this.domCreateElement('select') - data.data.detail.forEach((item) => { const optionElement = this.domCreateElement('option')