Skip to content

Commit

Permalink
removed codeblock according merge request
Browse files Browse the repository at this point in the history
  • Loading branch information
roaldchristesen committed Oct 12, 2023
1 parent 9af7d80 commit 0645967
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/districtSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 0645967

Please sign in to comment.