Skip to content

'readOnly'应该为'readonly',或者所有关于HTML标签属性的指令修改成大小写不敏感 #46

@z-ZYS-s

Description

@z-ZYS-s
<input disabled={true} />    // OK
<input readonly={true} />    // 会出现问题。

代码在src/util.js 396行

参考:http://www.w3school.com.cn/tags/att_input_readonly.asp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions