how to disable tab if isNewOrDeleted #7226
arunkumar12712
started this conversation in
General
Replies: 1 comment
-
When I use TabsExtensions, I have used an index value, not the "name" of the tab as a reference, something like this:
I just tried it, and it worked fine for setDisabled as well. So, it's possible that you are using the wrong tab key value as your second argument? Alternatively, maybe it is the timing of when you are trying to do the disabling; if it is too early, this.isNewOrDeleted() might not be working. You should do it in afterLoadEntity or later. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am try this but not working
TabsExtensions.setDisabled(this.tabs, "test", this.isNewOrDeleted())
Beta Was this translation helpful? Give feedback.
All reactions