Skip to content

Commit

Permalink
chore: Amount in transactions made number field
Browse files Browse the repository at this point in the history
  • Loading branch information
TIVMOF committed Nov 15, 2024
1 parent 99fda0b commit 9f1d762
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,14 @@
<div class="fd-col fd-col-md--2">
<fd-form-label for="idAmount" dg-colon="true">Amount</fd-form-label>
</div>
<div class="fd-col fd-col-md--8">
<fd-form-input-message-group dg-inactive="{{ forms.details['Amount'].$valid }}">
<fd-input id="idAmount"
name="Amount"
state="{{ forms.details['Amount'].$valid ? '' : 'error' }}"
ng-model="entity.Amount"
ng-minlength="${property.minLength} || 0"
ng-maxlength="${property.maxLength} || -1"
type="text"
placeholder="Enter Amount">
</fd-input>
<fd-form-message dg-type="error">Incorrect Input</fd-form-message>
</fd-form-input-message-group>
<div class="fd-col fd-col-md--4">
<fd-step-input dg-id="idAmount"
name="Amount"
state="{{ forms.details['Amount'].$valid ? '' : 'error' }}"
ng-model="entity.Amount"
placeholder="Enter Amount"
>
</fd-step-input>
</div>
</fd-form-item>
<fd-form-item class="fd-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,17 @@
<div class="fd-col fd-col-md--2">
<fd-form-label for="idAmount" dg-required="true" dg-colon="true">Amount</fd-form-label>
</div>
<div class="fd-col fd-col-md--8 ">
<fd-form-input-message-group dg-inactive="{{ forms.details['Amount'].$valid }}">
<fd-input id="idAmount"
name="Amount"
state="{{ forms.details['Amount'].$valid ? '' : 'error' }}"
ng-required="true"
ng-model="entity.Amount"
ng-readonly="action === 'select'"
ng-minlength="${property.minLength} || 0"
ng-maxlength="${property.maxLength} || -1"
dg-input-rules="{ patterns: [''] }"
type="text"
placeholder="Enter Amount">
</fd-input>
<fd-form-message dg-type="error">The value doesn't match the required pattern ''</fd-form-message>
</fd-form-input-message-group>
<i class="sap-icon--information" role="presentation" onclick="javascript:alert('')"></i>
<div class="fd-col fd-col-md--4 ">
<fd-step-input dg-id="idAmount"
name="Amount"
state="{{ forms.details['Amount'].$valid ? '' : 'error' }}"
dg-required="true"
ng-model="entity.Amount"
is-readonly="action === 'select'"
placeholder="Enter Amount"
>
</fd-step-input>
<i class="sap-icon--information" role="presentation" onclick="javascript:alert('')"></i>
</div>
</fd-form-item>
<fd-form-item class="fd-row">
Expand Down
Loading

0 comments on commit 9f1d762

Please sign in to comment.