Announcement

Collapse
No announcement yet.

More Colored Enum fields

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • More Colored Enum fields

    Hi!

    We use colors for opportunities stages and it works AMAZING! We see there are 6 styles: Default – black; Success – green; Danger – red; Warning – yellow; Info – violet; Primary – blue.

    Is there any way we can add more styles/colors?

    Thanks a lot.

  • #2
    Hello Pablo,
    There is no such ability to add or change these colors via UI. It should be done by code customization.

    Comment


    • #3
      Hi Maximus ,

      Thanks for your reply. Can you please guide us which files we need to modify? We can give it a try.

      Thanks again.

      Comment


      • #4
        Pablo, unfortunately, I don't know where to find it.
        The only I was able to find is this file /client/src/views/admin/field-manager/fields/options-with-style.js.
        I would like to migrate this topic into the Developer Help branch. Hope someone might help you.

        Comment


        • #5
          Hi Pablo, check this post, I think this is the script that you are looking for. https://forum.espocrm.com/forum/deve...1584#post61584

          Comment


          • #6
            Hi telecastg ,

            Thanks for the help. I will check the post.

            Have a great day.

            Comment


            • telecastg
              telecastg commented
              Editing a comment
              You're welcome

          • #7
            Alternatively you can also create a theme that will allow you to change the colors, not sure if you can add new additional option too.

            See dubas' theme to see how he did it, between these two version is when emillod made the update

            https://forum.espocrm.com/forum/exte...8155#post68155

            Comment

            Working...
            X