In this video, I get to fix the code of a very good friend of mine, Mr. Jerry Nixon. Jerry recently reached out to me and asked why his Blazor cascading dropdown was not working.
If you don’t know what a Blazor cascading dropdown is; it’s when you have two dropdowns in your Blazor razor page. When you make a selection in the first dropdown, the options/values of the second dropdown will update to be only the values that are related to the first dropdown. Essentially, the data in the second dropdown is dependent on the value of the first dropdown. This pattern is commonly referred to as cascading dropdowns.
Jerry made this pretty easy for me by sending me the code demonstrating his Blazor cascading dropdown which is not working with his two InputSelects.
His code is broken, and its our job to fix it!