You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(decimal): corrige falha no arredondamento dos decimais
Agora o componente passa a tratar o número total de caracteres
para que as funcionalidades ocorram dentro das limitações
do JavaScript.
Fixes DTHFUI-1048
Copy file name to clipboardExpand all lines: projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.html
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,15 +61,21 @@
61
61
name="decimalsLength"
62
62
[(ngModel)]="decimalsLength"
63
63
p-clean
64
-
p-label="Decimals max length">
64
+
p-help="By default is equal 2, check the behavior in doc."
65
+
p-label="Decimals max length"
66
+
p-min="0"
67
+
[p-max]="maxDecimalsLength">
65
68
</po-number>
66
69
67
70
<po-number
68
71
class="po-md-6"
69
72
name="thousandMaxlength"
70
73
[(ngModel)]="thousandMaxlength"
71
74
p-clean
72
-
p-label="Thousand max length">
75
+
p-help="By default is equal 13, check the behavior in doc."
Copy file name to clipboardExpand all lines: projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,14 @@ export class SamplePoDecimalLabsComponent implements OnInit {
0 commit comments