Value Processor – “Invert Boolean” is lost when creating a component

Description / Steps to reproduce:

  1. Add a Container.

  2. Inside the container, add:

    • An Input component

    • A Text component

  3. Create a Boolean value (e.g., isEditMode).

  4. Bind the Input component’s visibility to the Boolean (visible when true).

  5. Bind the Text component’s visibility to the same Boolean, but apply “Invert Boolean” so it is visible when false.

  6. Create a Component from the container.

Expected result:
The “Invert Boolean” value processor should still be applied to the Text component inside the new component.

Actual result:
The “Invert Boolean” processor is removed after the container is converted into a component.

Hei,

Jeg forsøkte å reprodusere feilen gjennom å følge dine steg, men opplever ikke umiddelbart samme feil hos meg. Hvilken versjon av Appfarm Create er løsningen din på?

Har du forsøkt med ulike datatyper (App Variable vs. Runtime Property vs. Database connected property)?

Synne

“Is Edting” is I’s a Boolean runtime property on a databaseconnected object. This is the settings before I create a component:

image
Creating the component like:

And this is the result:

image

I cant see my current version in Create but last deploy to stage 10 min ago was 136-0-18

When I used a runtime property on a databaseconnected object like you explained, I was able to reproduce the bug.

I have reported the bug internally, thank you for letting us know!

Synne

1 Like