Merge branch 'develop' into add_mapilio_data

This commit is contained in:
sezerbozbiyik
2023-07-13 17:39:04 +03:00
2 changed files with 40 additions and 1 deletions
+7
View File
@@ -43,5 +43,12 @@ export function utilGetSetValue(selection, value, shouldUpdate) {
shouldUpdate = (a, b) => a !== b;
}
// only certain input element types allow manipulating the cursor
// see https://html.spec.whatwg.org/multipage/input.html#concept-input-apply
const supportedTypes = ['text', 'search', 'url', 'tel', 'password'];
if (!supportedTypes.includes(this.type)) {
return selection.each(setValue(value, shouldUpdate));
}
return selection.each(stickyCursor(setValue(value, shouldUpdate)));
}