c-smile/sciter-js-sdk

change event for select[multiple="checkmarks"] never called

GirkovArpa opened this issue · 0 comments

Checking or unchecking any option should show a popup. But, nothing happens. It seems that the change event for select[multiple="checkmarks"] is broken?

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <select |tree multiple="checkmarks">
      <option checked value="select-all">Select All</option>
      <hr />
      <option>A</option>
      <option checked>B</option>
      <option>C</option>
    </select>
  </body>
  <script type="module">
    import { $ } from '@sciter';
    $('select').on('change', function (evt) {
      Window.this.modal(<info>{this.value}</info>);
    });
  </script>
</html>