How do I use “onfocus” &. “onblur” for input type date in React Functional Component?

后端 未结 0 1347
暖寄归人
暖寄归人 2020-12-31 10:26

Does anyone know how to make this code work in a React Functional Component?

onfocus="(this.type=\'date\')" onblur="(this.type=\'text\')"
         


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