Fix fields not found on tab selection
This commit is contained in:
parent
a9eb6b636d
commit
01ac9e04b9
1 changed files with 6 additions and 2 deletions
|
@ -7,9 +7,13 @@ $(function() {
|
|||
startMode : 'year'
|
||||
});
|
||||
|
||||
$('.ui.form').form({
|
||||
$('[data-tab="personal"] .ui.form').form({
|
||||
fields: {
|
||||
'user-email' : 'email',
|
||||
}
|
||||
});
|
||||
$('[data-tab="password"] .ui.form').form({
|
||||
fields: {
|
||||
'user-email' : 'email',
|
||||
'user-password' : ['minLength[8]', 'empty'],
|
||||
'user-password-repeat' : ['minLength[8]', 'empty'],
|
||||
match : {
|
||||
|
|
Loading…
Reference in a new issue