Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Maxlength conditional statement

$
0
0

@emsee71 wrote:

How can I get the maxlength of the character in my services.js and put the maxlength of the character in my textbox ?

Here is my code:

   services.js
            .factory('FactoryofQuestions', function() {
        
        {
            
                question: "RO RORPOEAT",
                answer: "or operator"
               
            },
            {
           
                question: "UARNGLA",
                answer: "angular"
              
            },
            {
            
                question: "AAJVRTSCIP",
                answer: "javascript"
                
            },
    
     ];
    
    

    {{question}}

    <input type="text" name="answer">

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>