cancel
Showing results for 
Search instead for 
Did you mean: 

Color Picker in sap.m

0 Kudos

Hi Guys,
     I am trying to consume sap.m. in my product.  I see that there's a color picker in sap.ui.commons library, but there isn't one in sap.m. Is there any plans to include this in the sap.m. library? If not, are there any alternatives i can use? (I have already considered the html5 picker)

Thanks,

Navaneeth

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member779990
Discoverer
0 Kudos

I have the same problem with you. I saw the sap.ui.commons.ColorPicker is deprecated. Have you resloved this problem or find other solution?

0 Kudos

I wrote my own control

pinakipatra
Contributor
0 Kudos

Hi ,

you can use the color-picker from sap.commons library.

SAPUI5 SDK - Demo Kit

Also have a look at

Libraries and Supported Combinations - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library

0 Kudos

Hi Pinaki,
    That is what the question is. The commons library cannot coexist with the m library. The link provided by you states the same fact. I want an ALTERNATIVE to the commons library color picker.

Thanks,

Navaneeth

pinakipatra
Contributor
0 Kudos

If my understanding is correct ,

as per the best practices you should not use m and commons together but

technically you can use them together .

In your case sap.m don't have a color-picker component i believe you can use the commons colorpicker.

0 Kudos

I do NOT want to use commons library.