React-js ignores label's 'for' attribute

后端 未结 2 1115
深忆病人
深忆病人 2021-02-04 23:24

I know that for \'class\' we must use className, but how do i get react to preserve \'for\' attribute?

The following:

2条回答
提交回复
热议问题