Add Class to Save/Create button on a form

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Pomegranate
Posts: 33
Joined: Sun Jul 16, 2017 11:53 pm
Location: Mongolia, Ulaanbaatar

Add Class to Save/Create button on a form

Post by Pomegranate »

Hello everyone and thank you for your time,

I'm having trouble adding a class to a Save/Create button on a form like so:
Image

After that, the button element doesn't get the class for some reason:
Image

I suspect that the "Save" button changes to "Create" when its creating an attribute for the first time and this kind of renders a new button without inheriting the previous button's class, but then, I tried it out on the Close button which shouldn't change, yet it doesn't get the class as well.

I also tried adding an ID, but I understand it only works for tours and not when rendering the element. Have any of you ran into this problem? If so, have you found a workaround? Any help would be appreciated, thank you.
Pomegranate
Posts: 33
Joined: Sun Jul 16, 2017 11:53 pm
Location: Mongolia, Ulaanbaatar

Re: Add Class to Save/Create button on a form

Post by Pomegranate »

This might actually be a bug, I've created a new Save button and positioned it on the bottom toolbar and gave it a class called TEST but it inherits the class of the previous default Save button.
Post Reply