We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b5d55e commit d61d4a6Copy full SHA for d61d4a6
1 file changed
src/swap-state.js
@@ -112,11 +112,16 @@ export class SwapState {
112
113
const UI_ATTRS = [
114
"placeholder",
115
+ "list",
116
"inputmode",
117
"autocomplete",
118
+ "autocapitalize",
119
+ "autocorrect",
120
"minlength",
121
"maxlength",
122
+ "size",
123
"pattern",
124
+ "dir",
125
"title",
126
"tabindex",
127
"style",
@@ -148,6 +153,7 @@ export class SwapState {
148
153
149
154
for (const [k, v] of Object.entries(input.dataset)) {
150
155
if (k.startsWith("tig")) { continue; }
156
+ if (v == null) { continue; }
151
157
this.originalDataset[k] = v;
152
158
}
159
0 commit comments