Formik get selected option as boolean

后端 未结 0 1897
情书的邮戳
情书的邮戳 2021-02-15 07:25

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:

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