feat(salix): refs #6427 front updates
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-04-22 07:59:59 +02:00
parent ef8a711ed6
commit 3565e433c2
2 changed files with 1 additions and 7 deletions

View File

@ -24,8 +24,7 @@
disabled="$ctrl.otp" disabled="$ctrl.otp"
label="User's phone" label="User's phone"
ng-model="$ctrl.user" ng-model="$ctrl.user"
required="true" required="true">
vn-focus>
</vn-textfield> </vn-textfield>
<vn-textfield <vn-textfield
ng-if="$ctrl.otp" ng-if="$ctrl.otp"

View File

@ -12,11 +12,6 @@ export default class Controller {
$state, $state,
$location $location
}); });
$scope.$watch('$ctrl.user', function(nuevoValor) {
let isSms = /([+]\d{2})?\d{9}$/ig.test(nuevoValor ?? '');
// Evaluo si el valor introducido es un número y se marca o desmarca el checkbox de revibir por sms
$scope.$ctrl.sms = isSms;
});
} }
goToLogin() { goToLogin() {