Show picker on input focus together with colorpicker-input-addon
novakben opened this issue · comments
Description
Is there a built-in way to force colorpicker to open on text input focus and have the colorpicker-input-addon button? looked in the docs but couldn't find anywhere.
Context
- bootstrap-colorpicker version: 3.2.0
- bootstrap version: 4
- jQuery version: 3.2
Expected behavior
When color picker input is in focus, colorpicker component opens even when you use the colorpicker-input-addon.
Actual behavior
colorpicker opens only when pressing on colorpicker-input-addon
Thanks!
This is builtin functionality since the library automatically detects the addon
Did you try using events and opening the picker on focus?
I think what he meant here, and I support this request, is an 'allowInputToggle' option.
If this were set to True, I would not need to write an input listener that triggers the color picker. Some libraries that provide e.g. date or time selections offer this setting.