@jobber/components 6.105.5 → 6.105.6-JOB-145246-89c8d9a.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/InputTime/index.cjs
CHANGED
|
@@ -217,6 +217,9 @@ function useInputTimeActions({ onChange, value, inputRef, onFocus, onBlur, onKey
|
|
|
217
217
|
if (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) {
|
|
218
218
|
if (!inputRef.current.checkValidity()) {
|
|
219
219
|
inputRef.current.value = "";
|
|
220
|
+
inputRef.current.valueAsDate = null;
|
|
221
|
+
// Remove validation error. This is mainly needed for Safari
|
|
222
|
+
inputRef.current.setCustomValidity("");
|
|
220
223
|
}
|
|
221
224
|
}
|
|
222
225
|
}
|
package/dist/InputTime/index.mjs
CHANGED
|
@@ -215,6 +215,9 @@ function useInputTimeActions({ onChange, value, inputRef, onFocus, onBlur, onKey
|
|
|
215
215
|
if (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) {
|
|
216
216
|
if (!inputRef.current.checkValidity()) {
|
|
217
217
|
inputRef.current.value = "";
|
|
218
|
+
inputRef.current.valueAsDate = null;
|
|
219
|
+
// Remove validation error. This is mainly needed for Safari
|
|
220
|
+
inputRef.current.setCustomValidity("");
|
|
218
221
|
}
|
|
219
222
|
}
|
|
220
223
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "6.105.
|
|
3
|
+
"version": "6.105.6-JOB-145246-89c8d9a.2+89c8d9ab8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -538,5 +538,5 @@
|
|
|
538
538
|
"> 1%",
|
|
539
539
|
"IE 10"
|
|
540
540
|
],
|
|
541
|
-
"gitHead": "
|
|
541
|
+
"gitHead": "89c8d9ab8c00487fa8e2b194ca0bf72e1ad28703"
|
|
542
542
|
}
|