Re-init Materialize.css select box after removal from Knockout.js options array
问题 I have a select box where the options and selection are handled via Knockout.js. I want to style this using Materialize CSS. This works OK for the initial display of the select box, and when options are added to the Knockout.js 'options' observableArray by using the 'optionsAfterRender' binding to (re)initialize after each option has been added (wasteful, but works). When removing an option, Knockout.js does not provide anything similar to 'optionsAfterRender', so there is no obvious way to