react-hook-form can't correctly validation with value and onChange after submit

前端 未结 0 1120
隐瞒了意图╮
隐瞒了意图╮ 2021-01-28 05:49

I have component TextInputComponent:

const TextInputComponent = ({
  register,
  label,
  name,
  required,
  error,
  value,
  type,
  handleValue,
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题