215 questions
0
votes
1
answer
25
views
Count all divs in a component having 'ng-show' attribute
I have a component <row/> containing multiple <cell/> components.
Some of the cells have ng-hide attr and some cells have a keyword 'mutate' :
<row>
<cell> </cell>
&...
0
votes
2
answers
487
views
ng-hide="true" is not hiding the element
I'm using Angular 11. Somehow I can't make this div disappear:
My simple HTML :
<div ng-hide="true">Test</div>
Result -> The Text Test still appears on my page.
0
votes
1
answer
439
views
Automatically added ng-hide in a button
<table>
<tr ng-repeat="response in customUserResponse">
<td>
<div class="buttons" align="center">
<button ng-disabled="...
0
votes
1
answer
4k
views
dynamically show/hide angular mat-tabs conditionally [duplicate]
I have 15 or more mat-tabs under mat-tab-groups but I want to hide tabs on the condition that the "datasource.data.length === 0" The following is not working for me. Any advise?
invt.html
<mat-...
1
vote
1
answer
120
views
How do I hide a choice field if there are no options in it
I have two dynamic select fields. The first choice field is loaded from a list and dependant on what you select it then populates the second select field.
I'm have a problem where I want to hide the ...
0
votes
1
answer
517
views
HighCharts Disable some Series Name from the Legend
I am using HighChart,i want to disable legend as the given example there are 3 legend (Test1,Test2,Test3), I only want that there will be only one (Test2) to show and others are disabled,
this....
0
votes
1
answer
58
views
Hide div which has double ng-repeat
I have this markup:
<div class="row" ng-repeat="value2 in requirements | orderBy:'ControlGroupIdentifier'">
<div class="col-lg-12">
<div ng-repeat="controlgroup in value2....
1
vote
2
answers
64
views
ng-hide does not hide button
I want to hide the button if it's the delete folder and show if it's the inbox. The code below does not work as the button is always shown.
<div class="message-footer-height" >
<div ...
0
votes
1
answer
116
views
NgHide AngularJs
I'm just trying to understand something that is very simple.
I want to use ngHide with AngularJs to display an element when I click on a word (see link below).
JsFiddle Link
On the link what I ...
2
votes
1
answer
1k
views
Angular. How to hide data in the title attribute of the image if the object value is null?
I understand ng-show/ng-hide can be used but this case is a little different. This is my script below. Basically what I'm trying to do is hide the word "PEAK" if 'info.peak' value is empty in the ...
0
votes
0
answers
270
views
Angular: ng-show/ng-hide buttons when initial button is clicked
I am trying to create a set of buttons in Angular, and my desired behavior is that when the user clicks the first button, the second button appears. They would then fill out some stuff and continue. ...
0
votes
1
answer
749
views
AngularJS ng-hide/show label/button if length(description) < 20
I need to show/hide label if length(description) < one row. Code is working ok, but if length < one row, label isn't hide. How to hide/show label?
If [[ demandAd.description ]] less than one ...
1
vote
1
answer
295
views
AngularJS directives can't check for null [duplicate]
I am retrieving numbers (integer or float) from a MySQL database, and putting them in a form. I want a checkbox to be visible if the value is not null. However, ng-show and other directives don't seem ...
0
votes
1
answer
187
views
hide header on first anchor_menu full space scrolling Angular4
I'm currently working on my website using angular4. I want to create something like tumblr page with using full page scrolling. Everything is ok now with side list and couple of slide. However, I want ...
1
vote
0
answers
219
views
Ionic hide footer on one view
I am trying to hide the footer on only one of my ionic views, no matter what I try I cannot seem to get this to work. Any ideas? I have tried using ng-hide and did not work. I can't seem to work out ...