Hi @Zabron Muyambo ,
In the oninput
event, you need to get the current entered value and assign it to the Bind value, then call the UpdateCashDebtors method to calculate the CashDebtorsPercent.
Try to use the following code: view the source code
The result as below:
In the above sample code, we directly use the properties which defined in the Razor component, if you want to the Model properties, try to change the code as below:
Then the result like this:
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion