Is it achievable to customize the insertMessages property to false for a specific view model property using Knockout.js instead of setting it globally using
ko.validation.init({ insertMessages: false });
? I am attempting to set insertMessages to false only for a particular view model property.
For instance:
reasonDetails.extend({
required: {
message: 'Please make at least one selection',
onlyIf: function () {
return reason() != 3;
},
insertMessages: false
}
});
However, this approach is not functioning as intended.