Chartjs-Dropdown component not having effect in Chromium browser

1👍

Try using (change) event on select element instead of (click) on option

<select (change)="onChange($event)">
  ...

You can access the current value from

$event.target.value

The reason behind using the change event instead of a click event on option is that chrome does not trigger such a event on select options – so it’s not related to angular.

Leave a comment