Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ca08c00

Browse files
mheveryIgorMinar
authored andcommitted
feat(jqlite): support required as a no-value attribute
1 parent 25a62b5 commit ca08c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jqLite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ var JQLitePrototype = JQLite.prototype = {
237237
// these functions return self on setter and
238238
// value on get.
239239
//////////////////////////////////////////
240-
var SPECIAL_ATTR = makeMap("multiple,selected,checked,disabled,readonly");
240+
var SPECIAL_ATTR = makeMap("multiple,selected,checked,disabled,readonly,required");
241241

242242
forEach({
243243
data: JQLiteData,

0 commit comments

Comments
 (0)