Color picker on Apple devices

0

Color Picker does not work for me on Apple devices, this is the html code

<input type="color" class="btn btn-format btn-default attcolor btn-xs" value="#000000">

I do not understand since it works on all devices. In Google I did not get anything referring.

    
asked by Avancini1 04.09.2018 в 04:03
source

1 answer

0

Safari does not recognize certain properties of the inputs, such as "date" for example. This is also the case of "color"; What I can suggest is to use some external plugin like this link

It's as simple as this

<script src="jscolor.js"></script>

Color: <input class="jscolor" value="ab2567">

I hope you serve

    
answered by 04.09.2018 в 05:37