I am working on creating numeric entry fields for the plant operators to set the priority of some different devices in the field. Does anyone know if there is a way to hide/disable the “arrows” when you click on the field to enter a number? Tech support thought you might be able to use @keyframes to remove them but I couldn’t figure it out.
Make sure it is in your numeric entry field .css and that your custom theme is being used in the project. Also make sure that it is compatible with the browser you are using, firefox doesn’t support those elements. You don’t need @keyframes either.
You’re in the realm of unsupported behavior, so it’s hard to say. I can guarantee that Workstation uses Chromium for rendering, which should obey webkit properties. I don’t see anything in JxBrowser’s documentation about not following webkit flags, or requiring you to opt in to them, so I don’t know what’s happening. You could try clearing your .ignition cache; maybe the browser is caching old themes and not getting your updated theme.
Sorry to hijack this thread, but is there a way to hide the arrows on SOME numeric entry field components and not on others?
From what little I know about CSS, if I create a custom them so that these are hidden and use that theme for my project, then ALL of the spinner buttons on all the numeric entry fields in the project will be hidden. Am I wrong about that?
If not, how could some be shown and specific ones have the spinners hidden?