We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a767b commit bdcc1caCopy full SHA for bdcc1ca
web_src/js/features/common-button.ts
@@ -137,8 +137,7 @@ function onShowModalClick(e: MouseEvent) {
137
}
138
139
if (attrTargetAttr) {
140
- // @ts-expect-error - no idea how to fix
141
- attrTarget[camelize(attrTargetAttr)] = attrib.value;
+ (attrTarget as any)[camelize(attrTargetAttr)] = attrib.value;
142
} else if (attrTarget.matches('input, textarea')) {
143
(attrTarget as HTMLInputElement | HTMLTextAreaElement).value = attrib.value; // FIXME: add more supports like checkbox
144
} else {
0 commit comments