How to use the grommet-controls.validators.alphaNumeric function in grommet-controls

To help you get started, we’ve selected a few grommet-controls examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github atanasster / crypto-grommet / components / auth / RegistrationForm.js View on Github external
const { onSwitchLogin } = this.props;
    return (
      
        
        
          
          <form>
            
            
            
            

            
              <button label="Register" type="submit">
            
          
        
      
    );
  }</button></form>
github atanasster / grommet-dashboard / components / profiles / SmallProfileForm.js View on Github external
src='//v2.grommet.io/assets/Wilderpeople_Ricky.jpg'
          round='full'
          size='large'
        /&gt;
      
      
        
      
    
    
    
    
  
);
github atanasster / crypto-grommet / components / auth / ResetPasswordForm.js View on Github external
render() {
    return (
      
        <form>
          
          

          
            <button label="Submit" type="submit">
          
        
      
    );
  }
}</button></form>
github atanasster / crypto-grommet / components / auth / LoginForm.js View on Github external
icon={}
                label='Google'
                onClick={() =&gt; this.openOAutPopup('google')}
              /&gt;
            
          
        
        
          
          <form>
            
            
            
              <button label="Log in" type="submit">
            
          
        
        
      
    );
  }
}</button></form>
github atanasster / grommet-dashboard / pages / login.js View on Github external
Password
          
        
      )}
      description='Password'
      name='password'
      validation={
        [validators.required(), validators.minLength(5), validators.alphaNumeric()]
      }
    /&gt;
    
  
);
github atanasster / grommet-dashboard / pages / register.js View on Github external
footer={(
      
        
        
      
    )}
  &gt;
    
    
    
    
    
          Agree to
          
        
      )}
      description='Terms of service'
      name='accept_tos'