How to use data.variable in ng-show condition of html in a widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 09:40 PM
Hi Community,
I'm working on a widget where in server side script I have defined a data variable as below:-
And want to use same in below html script:-
<button ng-show="entities=='yes' && curret_pos<data.count1" ng-click="getNextSet()">
Next
</button>
The below highlighted html ,condition is not working as expected.
Can someone please help what's wrong with the condition?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 09:51 PM
Hello @Ankita Kolhe ,
Use below image for your reference:
Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 10:12 PM
Hi @Dnyaneshwaree ,
Thanks for the response.
I have updated it as curret_pos<"data.count1"". However still it's not working.