Skip to content

Commit

Permalink
Applying read only property form onto elements using attr instead
Browse files Browse the repository at this point in the history
This should generate the wanted behavior, without generating an exception.
  • Loading branch information
MikeMatrix committed May 4, 2019
1 parent ab711ac commit 29ad0cf
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/compile/render-dom/wrappers/Element/Attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,21 +308,6 @@ const attribute_lookup = {
dropzone: {},
enctype: { applies_to: ['form'] },
for: { property_name: 'htmlFor', applies_to: ['label', 'output'] },
form: {
applies_to: [
'button',
'fieldset',
'input',
'keygen',
'label',
'meter',
'object',
'output',
'progress',
'select',
'textarea',
],
},
formaction: { applies_to: ['input', 'button'] },
headers: { applies_to: ['td', 'th'] },
height: {
Expand Down

0 comments on commit 29ad0cf

Please sign in to comment.