This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 365
Disable hex input auto completing #323
Comments
Same issue here |
Have you tried ...
$('#colorpicker').colorpicker({
autoInputFallback: false
});
... To be fair it still doesn't work for me, but you can try this setting, maybe it will somehow work for you.. |
I've fixed this Issue for the hex-format in the update-function (Line 4653):
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
If you type characters directly into the hex input field, it will autocomplete. For example if I type 123 it will autocomplete the field by setting the value to 112233. When you try and delete some characters to change the entry it just continues to autocomplete them. Do not run the setValue() function unless the field loses focus OR there are at least 6 characters in the field. This is driving users crazy. I think you fixed this in your previous version here: zefoy/ngx-color-picker#84. Version 3.2 doesn't have the same fix.
Context
Live Example
You can see this in action on the example page for the plugin - try clearing out the hex value in the "Add complementary color swatches" example and start typing any number or letter and see what it does:
https://itsjavi.com/bootstrap-colorpicker/tutorial-p02_Advanced_Examples.html
The text was updated successfully, but these errors were encountered: