below code shows ExportApplicationQuantity comes from db And SBQuantity is an input field how to validate input fields with ExportApplicationQuantity ,here SBQuantity not more than ExportApplicationQuantity.
here is below code
id="SBQuantity" [(ngModel)]="losses.SBQuantity" pattern="^[0-9]{1,12}(?:\.[0-9]{1,3})?$"
app-restrict-input="floatWithThreeDecimalPlaces" (ngModelChange)=" calculateLoss()">
SBQuantity is required.
Gajendra JangidPosted Jun 6, 2019, 2:25 AM
Veerendra AnnigerePosted Jun 5, 2019, 12:08 AM