on 2023 Jan 31 10:11 PM
Using ABAP RAP, I have a Fiori Elements application that has a checkbox bound to a boolean value in my root entity. When the checkbox is selected, I need an additional facet to become visible that shows additional details that can be maintained.
I know in the UI annotations I can bind the facet visibility to a projected field, like so:
hidden: #( CheckboxIsNotSelected )
However, the value that I need is always has the opposite value of the checkbox. The value needs to be true when the checkbox is false, and vice versa.
I know I can:
But this seems like such a crazy workaround for what I assume to be a pretty basic and common requirement. Is there an easier way to bind the hidden annotation to the 'not' of a field?
Request clarification before answering.
Exact same problem here, but because of the Backend Version I don't have side effects yet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.