Hi ,

A page (AngularJS 1.x App) has many directive. Each directive has either 
radio button/check box/ button.
When user click on radio button, a web api call is made with request object 
and it give the response with additional information on that request 
object. a request object has information about that directive.
The response object is map to View model of the page to reflect that 
information in UI.
When API return exception, to maintain a page in consistent mode, we map 
the previous success response. but it is not reflecting as expected. The 
view mode has one attribute set to true which is bind to radio button.
That button is no selected
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>The
 
above is the HTML code. 
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>When
 
we see vm.option.isSelected = true but radio button is not selected. if we 
inspect the radio button element, it checked=checked. 
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>Please
 
help me to address the problem. 
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>
Thanks 
<https://lh3.googleusercontent.com/-mRq_RZmTu4M/Wf03bjBCT8I/AAAAAAAAASs/rl8b8_kqPsQ75am3LbpX5g7D9d0raF_8gCLcBGAs/s1600/radiobutton.png>
 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to