Hello All,
I am building a part of solution where data is getting directly populated in Text Input Control from other source but if data populated is wrong , user has an option to change it by clicking on edit icon .

So the requirement is that initially the text input control should be in disabled mode (as it already has pre-populated data from another source) and when user clicks on "Edit" Icon , below things should happen :
1. Text Input control should be in Edit Mode.
2. Edit Icon should change to "Check" Icon.
Once User has entered the correct data , user clicks on the same "check" icon which then makes the text input field "Disabled" and change the "Check" icon back to "Edit" icon.
Can you please help me with the code as i am totally confused with it.
Thanks and Regards