claviska / jquery-minicolors

jQuery MiniColors Plugin
MIT License
960 stars 313 forks source link

Form Validations? #265

Closed RailsCod3rFuture closed 5 years ago

RailsCod3rFuture commented 5 years ago

Does this library have built in form validations, to protect from malicious inputs? If so, how do you activate it within the plugin.

markvantilburg commented 5 years ago

Validation should mainly be done server-side...

claviska commented 5 years ago

@markvantilburg is correct. MiniColors will output a valid hex code, keyword, or RGBA string, but it's up to you to validate output on the server.