File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ export default class PaperForm extends Component {
7676  } 
7777
7878  get  isInvalid ( )  { 
79-     return  this . children . isAny ( 'isInvalid' ) ; 
79+     return  this . children . isAny ( 'validation. isInvalid' ) ; 
8080  } 
8181
8282  get  isTouched ( )  { 
83-     return  this . children . isAny ( 'isTouched' ) ; 
83+     return  this . children . isAny ( 'validation. isTouched' ) ; 
8484  } 
8585
8686  get  isInvalidAndTouched ( )  { 
@@ -112,15 +112,15 @@ export default class PaperForm extends Component {
112112
113113  @action  localOnSubmit ( )  { 
114114    if  ( this . isInvalid )  { 
115-       this . children . setEach ( 'isTouched' ,  true ) ; 
115+       this . children . setEach ( 'validation. isTouched' ,  true ) ; 
116116      if  ( this . args . onInvalid )  { 
117117        this . args . onInvalid ( ) ; 
118118      } 
119119    }  else  { 
120120      if  ( this . args . onSubmit )  { 
121121        this . args . onSubmit ( ) ; 
122122      } 
123-       this . children . setEach ( 'isTouched' ,  false ) ; 
123+       this . children . setEach ( 'validation. isTouched' ,  false ) ; 
124124    } 
125125  } 
126126} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments