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:
After that, the button element doesn't get the class for some reason:
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.
Add Class to Save/Create button on a form
-
- Posts: 33
- Joined: Sun Jul 16, 2017 11:53 pm
- Location: Mongolia, Ulaanbaatar
-
- Posts: 33
- Joined: Sun Jul 16, 2017 11:53 pm
- Location: Mongolia, Ulaanbaatar
Re: Add Class to Save/Create button on a form
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.