- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 03:49 AM
hi all
I need to hide "checkbox" in widget, in all condition.
HTML code⬇️
<label><input type="checkbox" name="support_team" ng-model="data.support_team"> Support Team</label><br/>
Please suggest.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 04:11 AM
Hi @Ujjwal1 ,
You can hide an element in the HTML by just setting Display as None. For this you have to add one Css style.
Try using this once, You can achieve you thing:
<label><input type="checkbox" name="support_team" ng-model="data.support_team" style="display: none;"> Support Team</label><br/>
If you think my answer solves your problem, then give me a like and mark this as correct answer.
Thanks,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 04:11 AM
Hi @Ujjwal1 ,
You can hide an element in the HTML by just setting Display as None. For this you have to add one Css style.
Try using this once, You can achieve you thing:
<label><input type="checkbox" name="support_team" ng-model="data.support_team" style="display: none;"> Support Team</label><br/>
If you think my answer solves your problem, then give me a like and mark this as correct answer.
Thanks,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 04:13 AM
Hi @Ujjwal1 ,
Please try below code -
Server Side :
data.hideBox = true;
HTML :
<label><input ng-hide="data.hideBox" type="checkbox" name="support_team" ng-model="data.support_team"> Support Team</label><br/>