In a behaviour I'm setting the priority with e.g.
"def allowedPriorities = constantsManager.getPriorities().findAll() { it.id.toInteger() == 1}.collectEntries {
[(it.id): it.name]
}
fieldPriority.setFieldOptions(allowedPriorities)
fieldPriority.setFormValue("1")
priorityReadOnly = true"
I know the code is overkill - but I have a lot of different cases, where more priorities are allowed. I should also mention that we have renamed the priorities to "1", "2" and so on.
This code works - the priority is set, it becomes read-only. BUT the icon won't change. Any ideas?
Hello,
Sorry for such a late reply here! I read your ticket on Product Support and am going to handle this question over there. :)
Jenna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.