Skip to content

Commit a4c376a

Browse files
authored
Fix type of 'autoComplete' dom props (#120)
* Fix type of 'autoComplete' dom props * Remove 'autoComplete' from unsupported elements
1 parent 32bf012 commit a4c376a

File tree

3 files changed

+8
-119
lines changed

3 files changed

+8
-119
lines changed

Diff for: codegen/consts.js

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ module.exports.types = {
3333
"allowFullScreen": "Boolean",
3434
"allowTransparency": "Boolean",
3535
"async": "Boolean",
36-
"autoComplete": "Boolean",
3736
"autoFocus": "Boolean",
3837
"autoPlay": "Boolean",
3938
"capture": "Boolean",

Diff for: codegen/react-html-attributes.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"accessKey",
66
"allowFullScreen",
77
"allowTransparency",
8-
"autoComplete",
98
"autoFocus",
109
"autoPlay",
1110
"capture",
@@ -252,6 +251,7 @@
252251
"form": [
253252
"accept",
254253
"action",
254+
"autoComplete",
255255
"method",
256256
"name",
257257
"target",
@@ -300,6 +300,7 @@
300300
"accept",
301301
"alt",
302302
"autoCapitalize",
303+
"autoComplete",
303304
"autoCorrect",
304305
"autoSave",
305306
"checked",
@@ -421,6 +422,7 @@
421422
"type"
422423
],
423424
"select": [
425+
"autoComplete",
424426
"defaultValue",
425427
"disabled",
426428
"form",
@@ -458,6 +460,7 @@
458460
],
459461
"textarea": [
460462
"autoCapitalize",
463+
"autoComplete",
461464
"autoCorrect",
462465
"cols",
463466
"defaultValue",

0 commit comments

Comments
 (0)