Closed asaunier closed 7 years ago
Reproducible in https://geomapfish-demo.camptocamp.net/1.6/
See
That's because when selecting a color, the field content is set to "": https://github.com/camptocamp/cgxp/blob/1.6/core/src/script/CGXP/plugins/FullTextSearch.js#L281 which triggers the default blank content detection.
This PR makes sure the detection is skipped.
By the way in Firefox when clicking on the colorpicker, a text editing cursor appears in the field (not in Chrome). See:
I have not found out yet how to prevent this. Anyone has a tip?
Looks good, merge :-)
With Version 1.6.8 this issue is not resolved completely. The red border is gone but in Firefox and IE11 when clicking on the colorpicker, the text editing cursor still appears in the field.
Reproducible in https://geomapfish-demo.camptocamp.net/1.6/
See
That's because when selecting a color, the field content is set to "": https://github.com/camptocamp/cgxp/blob/1.6/core/src/script/CGXP/plugins/FullTextSearch.js#L281 which triggers the default blank content detection.
This PR makes sure the detection is skipped.
By the way in Firefox when clicking on the colorpicker, a text editing cursor appears in the field (not in Chrome). See:
I have not found out yet how to prevent this. Anyone has a tip?