Following is my code : At the end of the row I have an add button where this dropdown will be added dynamically.Along with this dropdown many other textfields are present. My Requirement : When user selects the same option in the dropdown the valuesmore than 5 times the values should get disabled. Should happen on Onchange() of this dropdown.