File tree 1 file changed +11
-2
lines changed
presupuesto-app/src/app/formulario
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
< form >
2
2
< div class ="agregar ">
3
3
< div class ="agregar_contenedor ">
4
- < select (change) ="tipoOperacion($event) " class ="agregar_tipo ">
4
+ < select
5
+ (change) ="tipoOperacion($event) "
6
+ [ngClass] ="{ redfocus: tipo === 'egr' } "
7
+ class ="agregar_tipo "
8
+ >
5
9
< option value ="ing " selected > +</ option >
6
10
< option value ="egr "> -</ option >
7
11
</ select >
8
12
< input
13
+ [ngClass] ="{ redfocus: tipo === 'egr' } "
9
14
name ="descripcionInput "
10
15
type ="text "
11
16
class ="agregar_descripcion "
12
17
placeholder ="Agregar Descripción "
13
18
[(ngModel)] ="descripcionInput "
14
19
/>
15
20
< input
21
+ [ngClass] ="{ redfocus: tipo === 'egr' } "
16
22
name ="valorInput "
17
23
type ="number "
18
24
class ="agregar_valor "
19
25
placeholder ="Valor "
20
26
[(ngModel)] ="valorInput "
21
27
/>
22
28
< button class ="agregar_btn " (click) ="agregarValor() ">
23
- < i class ="ion-ios-checkmark-outline "> </ i >
29
+ < i
30
+ [ngClass] ="{ red: tipo === 'egr' } "
31
+ class ="ion-ios-checkmark-outline "
32
+ > </ i >
24
33
</ button >
25
34
</ div >
26
35
</ div >
You can’t perform that action at this time.
0 commit comments