I am new to knockout, want to use a select form control and enable some options based on the property of object in the array bind to select control.
The array of object bind to the select form control is as follows:
soldRequestBuyerType =
[{id: 0, description: "Highest Bidder at Auction", status: "false"}
{id: 1, description: "Nominate Another Buyer", status:"true"}
{id: 2, description: "Book to Selling Agent", status:"true"}];
If the status property of the binded object is true, the option should be enable to select and if false the option should be disabled.
Please help me to provide the binding to the select control using knockout.