COLOR PICKER ON INPUT SCREEN

0
I am a relatively new person for Mendix. I need to select Color from colorpicker and the data should be added to the entry screen.  
asked
1 answers
1

Hi, @Amal Nadh

To add a color picker to your Mendix entry screen and save the selected color, follow these steps:

  1. Add a Color Picker Widget:

    • In your Mendix project, open the page where you want the color picker.
    • Drag and drop the Color Picker widget onto the page from the toolbox.
  2. Bind the Color Picker to a Data Source:

    • Ensure you have an entity in your domain model to store the color information. For example, an entity named Entry with an attribute Color of type String.
    • In the properties of the Color Picker widget, bind the Color attribute of your Entry entity as the data source.
  3. Save the Data:

    • Add a save button to your page.
    • In the button's on-click properties, configure a microflow that commits the Entry object to the database.
answered