QAZIMAAZARSHAD / Income-Tax-Calculator

Income Tax Calculation System For A Salaried Person
https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/blob/main/README.md
MIT License
36 stars 57 forks source link

Reset button not vanishing income/deductions input #22

Closed ShreyaKanodia closed 3 years ago

ShreyaKanodia commented 3 years ago

Issue #9

fixes 2

Describe the changes you've made

In delete function I have entered two statements to delete value entered in Income and Deductions so that when reset button is pressed those two inputs are also delete.

But delete function is also called in in calculate function. The purpose of calling delete function in calculate function was to clear Tax calculated in previous result and show white space for new result. so I removed the delete function and just added the purpose. I did this because new delete function is clearing input of income and deductions, which is not desirable in calculate function

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA

Additional context (OPTIONAL)

Add any other context or screenshots about the feature request here.

Test plan (OPTIONAL)

A good test plan should give instructions that someone else can easily follow. How someone can test your code?

Checklist

QAZIMAAZARSHAD commented 3 years ago

@ShreyaKanodia Why you have mentioned issue number 2 in the description. Edit your comment.

I'll review your PR soon.

ShreyaKanodia commented 3 years ago

@QAZIMAAZARSHAD Sorry it was by mistake. Could you please explain me about checklist, I am not getting that

QAZIMAAZARSHAD commented 3 years ago

@QAZIMAAZARSHAD Sorry it was by mistake. Could you please explain to me about the checklist, I am not getting that

Tick the boxes which are true in the case of your PR. See 👇 image

QAZIMAAZARSHAD commented 3 years ago

Application not working after your changes.

Retry.