I have small directive to add required class to closest label of form element. It works fine with attribute required, but when using ng-required it se ...
I have small directive to add required class to closest label of form element. It works fine with attribute required, but when using ng-required it se ...
In my template driven form the textarea is required based on a condtion. I would also like the pattern to be conditional. I tried this syntax based on ...
I have a form myForm with some input fields. What am I trying to implement: Each field is required only if at least one of the others input fields is ...
I have an ng-required condition on my TextEdit. When I check the google inspection screen, I can see that my condition works properly (Test.Pack.subs ...
I've got my FormGroup with some FormControles and all of them are required but I want two of my FormControles only to be required if a boolean in my c ...
My ng-repeat input fields are dynamic fields, if checkbox checked the ng-repeat input fields are displaying, ADD More button also enabled. If i click ...
I'm creating an optional part of a form. Once one of the two elements is selected (or text has been entered) the other is required but if there is no ...
I have the below code to select Yes\No for selecting the options from Multi Select dropdown. But It is required only when I select the Yes Option from ...
I have an input field which is mandatory in order to proceed to the next page can't figure out how to validate the input(Name) ...searched online and ...
Is there a simple way to make inputs and textareas with the ng-required attribute set to true invalid if it contains only spaces or blank characters ? ...
I have a checkbox, based on value of its ng-model, I'm toggling visibility of a div using ng-show. This div contains an <input> of type="number ...
I have always used ng-required with conditionals undefined like that: I've never had any problems with this until now. I tried with different angul ...
I have a text box that is a search box (input type ="search") that I want to use the ng-required directive on it as needed. The issue is if I set ng- ...
I'm looking for a CSS rule to apply a red asterisk after the inputs with the ng-required attribute. The thing is, there is no label on those inputs, ...
I want to validate a dropdown with required. Default required only works if value is null or blank (correct me if I'm wrong). I want required to give ...
How can I validate my input only if my field is not disabled. I would like to write something like ng-required="job_name.disabled!="disabled"" but I'm ...
I have a form it includes input field which you can enter the amount of money. It has max attr. and if user entered amount of money greater than the m ...
By default the first person's details required="true" but the rest person's form are required="true" based on any of its filed filled or not. The cu ...