Cannot provide defaultValue as an expression

后端 未结 0 379
耶瑟儿~
耶瑟儿~ 2020-11-30 14:00

In the below React component, why will defaultValue={time} work, but defaultValue={time / 2} will not (will display empty input)?

Please not

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