Formik get selected option as boolean

后端 未结 0 1603
臣服心动
臣服心动 2021-02-15 07:23

I want to check if a selectedOption is "group", and then set the group value to true, else set it to false. The Form Component goes thus:

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