feat(salix): refs #6427 front updates
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
ef8a711ed6
commit
3565e433c2
|
@ -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"
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue