We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
my code, fulfills all the conditon but still I get these errors
Correct input : should not display any errors for correct input
Errors : should display error saying - 'Amount cannot be empty' when field is empty after entering some value
Initial rendering : should not display any errors
It doesnt shows any error on initial render
and after clearing the input - it says 'Amount cannot be empty'
can someone hlep?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
CryptoRank Exchange
You are viewing a single comment's thread. Return to all comments →
my code, fulfills all the conditon but still I get these errors
Correct input : should not display any errors for correct input Errors : should display error saying - 'Amount cannot be empty' when field is empty after entering some value Initial rendering : should not display any errors
It doesnt shows any error on initial render and after clearing the input - it says 'Amount cannot be empty' can someone hlep?