Michael Best

Results 149 comments of Michael Best

Have you tried with the `textInput` binding?

Thanks. I'll look into getting this fixed. A workaround is to pass the function to the binding instead of calling it first: .... https://jsfiddle.net/mbest/kdL9rsbz/

> but it's not applicable for use with e.g. server-side rendered arguments. You can use `bind` or an enclosing function. .... or .... You could think of these methods as...

I've reverted the changes with e28ef8136ba358dedb71039301d5b5d6d216c58b. Treating this as a feature request since the number of evaluations was never a requirement.

Maybe this will help. The `optionsCaption` value can be an observable, which means it can be a computed observable. ``` this.selectedOption = ko.observable(); this.optionCaption = ko.pureComputed(function () { return this.selectedOption()...

> Do I see that right, that your idea would remove the "please select" entry from the list Yes. If the goal is to disallow selecting an `undefined` value after...

@Retsam I've made some changes in #2563. Let me know what you think.

You can already use the `class` binding with string value to achieve this functionality (minus removing fixed classes). If it's important to support arrays in addition to strings, that should...