Hello, everyone how to clear the input field after page refresh and submit record in razor view .net core
Loading
Hello, everyone how to clear the input field after page refresh and submit record in razor view .net core
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vinitha TPosted Dec 15, 2021, 1:13 PM
RohanPosted Dec 15, 2021, 9:21 AM
Srinivasan RamamoorthiPosted Dec 15, 2021, 9:13 AM
Jignesh KumarPosted Dec 15, 2021, 9:10 AM
Hi Rohan,
Use ModelState.clear() to clear input after submit,