EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Opan Mustopah on January 21, 2015, 10:50:03 PM



Title: is easyui support for type input color?
Post by: Opan Mustopah on January 21, 2015, 10:50:03 PM
hello again,

the title is my question. how to make textbox plugin support for user choosing a color?
in plain html i can do it like this

Code:
<input type='color'></input>

many thanks for the answer


Title: Re: is easyui support for type input color?
Post by: stworthy on January 22, 2015, 12:01:04 AM
This feature does not support in current period.


Title: Re: is easyui support for type input color?
Post by: Opan Mustopah on January 22, 2015, 12:03:49 AM
thanks strworthy for your quick replay.
but is it possible to override default function textbox to make it support for color input?
if yes, can you show me snippet code for to do that?

many thanks for your answer


Title: Re: is easyui support for type input color?
Post by: stworthy on January 22, 2015, 01:03:59 AM
Please try to use a 3rd party color picker instead.


Title: Re: is easyui support for type input color?
Post by: Opan Mustopah on January 22, 2015, 02:00:44 AM
ok, thanks for your suggestion


Title: Re: is easyui support for type input color?
Post by: thecyberzone on January 22, 2015, 02:46:40 AM
HTML5 supports <INPUT TYPE='color'>.


Title: Re: is easyui support for type input color?
Post by: Opan Mustopah on January 22, 2015, 02:48:56 AM
thanks cyberzone for the code. yes i know and i already said that in my question above. but what i want is make textbox easyui a color picker.