Wasted about an hour of my life on something so trivial
Ok guys so i wasted about an hour trying to figure out how to bind to the "disabled" property in a textbox in angular. And after trying for a long time i realized that my code is not working as expected because , you have to use null instead of "false" to control it. Please refer to the stackoverflow answer below. Darn it !
https://stackoverflow.com/questions/42179150/how-to-disable-a-input-in-angular2/43765804
Comments
Post a Comment