• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

300
Views
after fill the form, i unckeck the checkbox, form is not showiing but data are still getting why?

please, help me, when i check the checkbox then i fill the form and submit, after then i got data in console. but if after fill the form, i unckeck the checkbox, form is not showing as condition but when i click the submit button i get same data. what should i do so that data show undefined or null after submitting when checkbox is unckecked. you can see on codesandbox. https://codesandbox.io/s/react-hook-form-modal-form-conditional-inputs-c7n0r?file=/src/App.tsx:1925-1955

about 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error