wave-ui 1.45.9 → 1.45.13
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/package.json
CHANGED
|
@@ -287,9 +287,10 @@ export default {
|
|
|
287
287
|
|
|
288
288
|
mounted () {
|
|
289
289
|
// On page load, check if the field is autofilled by the browser.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
// 20211229. Only a problem on Chrome. Firefox ok, Safari always prompts before filling up.
|
|
291
|
+
setTimeout(() => {
|
|
292
|
+
if (this.$refs.input.matches(':-webkit-autofill')) this.isAutofilled = true
|
|
293
|
+
}, 400) // Can't be less than 350: time for the browser to autofill.
|
|
293
294
|
},
|
|
294
295
|
|
|
295
296
|
watch: {
|