Skip to content

on change event is not triggering on dropdown change #3352

@balukantu143

Description

@balukantu143

I have a dropdown and with few values and to call a method on dropdown value change. on changing the dropdown value, the function is not invoking.
I am unable to figure out the exact issue. Below is the code and let me know are there any errors.

`

    private wireup(): void {
    this.view.on("invokeDorpdownChange", () => this.invokeDorpdownChange());
}

invokeDorpdownChange(): any {
    // Logic
}


<div >
	<select on-change="invokeDorpdownChange">
		<option value="1" selected="selected">Today</option>
		<option value="2">Tomorrow</option>
		<option value="3">This week</option>
		<option value="4">This month</option>
		<option value="5">Next month</option>
	</select>
</div>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions