File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 password : {
8787 label : 'label.password' ,
8888 validation : { required : true } ,
89+ isPassword : true ,
90+ id : 'password'
91+ } ,
92+ 'password-confirm' : {
93+ label : 'label.confirm.password' ,
94+ validation : {
95+ required : true ,
96+ equalTo : '#password'
97+ } ,
8998 isPassword : true
9099 } ,
91100 email : {
683692 password : {
684693 label : 'label.password' ,
685694 isPassword : true ,
686- validation : { required : true }
695+ validation : { required : true } ,
696+ id : 'password'
697+ } ,
698+ 'password-confirm' : {
699+ label : 'label.confirm.password' ,
700+ validation : {
701+ required : true ,
702+ equalTo : '#password'
703+ } ,
704+ isPassword : true
687705 } ,
688706 email : {
689707 label : 'label.email' ,
793811 newPassword : {
794812 label : 'label.new.password' ,
795813 isPassword : true ,
796- validation : { required : true }
797- }
814+ validation : { required : true } ,
815+ id : 'newPassword'
816+ } ,
817+ 'password-confirm' : {
818+ label : 'label.confirm.password' ,
819+ validation : {
820+ required : true ,
821+ equalTo : '#newPassword'
822+ } ,
823+ isPassword : true
824+ }
798825 }
799826 } ,
800827 action : function ( args ) {
Original file line number Diff line number Diff line change 321321
322322 if ( field . defaultValue ) {
323323 $input . val ( field . defaultValue ) ;
324+ }
325+ if ( field . id ) {
326+ $input . attr ( 'id' , field . id ) ;
324327 }
325328 }
326329 $input . addClass ( "disallowSpecialCharacters" ) ;
You can’t perform that action at this time.
0 commit comments