RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.39k stars 2.17k forks source link

Blue selection on DateTime mask #2679

Closed mrleblanc101 closed 1 year ago

mrleblanc101 commented 1 year ago

Why does this show a blue text selection on DateTime input mask instead of a regular cursor ? Can this overriden ? Capture d’écran, le 2022-12-23 à 11 40 12

The demo page does not have this behavior. Capture d’écran, le 2022-12-23 à 11 38 53

Here is my code:

new Inputmask("datetime", {
    inputFormat: "HH:MM",
    clearMaskOnLostFocus: false,
}).mask(timeInput);
RobinHerbots commented 1 year ago

@mrleblanc101,

Add insertModeVisual: false, option In the latest version this is the default

mrleblanc101 commented 1 year ago

Oh yeah I ended up figuring it out a few day ago. Completely forgot to come and close this issue. Thanks !