Fix fields not found on tab selection

This commit is contained in:
grandeljay 2022-10-11 13:56:24 +02:00
parent a9eb6b636d
commit 01ac9e04b9

View file

@ -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-password' : ['minLength[8]', 'empty'],
'user-password-repeat' : ['minLength[8]', 'empty'],
match : {