mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-21 06:05:27 -04:00
@@ -656,7 +656,7 @@ function inputLite(tagName, domNodeAttrs, domNodeAttrName, log, nodeLoc) {
|
||||
}
|
||||
|
||||
function isMatchChange(typeValue, nodeAttrName) {
|
||||
return !['checkbox', 'radio'].includes(typeValue) && (nodeAttrName.includes('onchange') || nodeAttrName.includes('@change'))
|
||||
return !['checkbox', 'password', 'radio', 'text'].includes(typeValue) && (nodeAttrName.includes('onchange') || nodeAttrName.includes('@change'))
|
||||
}
|
||||
|
||||
function ismatchIfAndFor(nodeAttrName) {
|
||||
|
||||
@@ -212,10 +212,14 @@ const litewearableTag = {
|
||||
enum: ['false', 'true'],
|
||||
},
|
||||
type: {
|
||||
enum: ['button', 'checkbox', 'radio'],
|
||||
enum: ['button', 'checkbox', 'password', 'radio', 'text'],
|
||||
},
|
||||
name: {},
|
||||
value: {},
|
||||
placeholder: {},
|
||||
maxlength: {
|
||||
checkFunc: 'number',
|
||||
},
|
||||
},
|
||||
},
|
||||
'slider': {
|
||||
|
||||
Reference in New Issue
Block a user