Skip to main content
edited tags
Link
Mohith Shrivastava
  • 91.9k
  • 19
  • 161
  • 214
added 89 characters in body
Source Link
Jan Tonnet
  • 87
  • 1
  • 11

I came across a weird behaviour on our sandbox org which is currently on Winter 24. We have several lightning components that we use in all different kind of screen flows.

For whatever reason aura attributes from the typ "Boolean" are no longer working - no matter which lightning component. Basically it is not expection true/false anymore. I played around with other types like "String" and "Integer" which work totally fine.

Here is an example attribute:

<aura:attribute name="showCurrentUserAccounts" type="Boolean" default="true"/>

and this is what it looks like in the flow when trying to access it:

enter image description here

What do I miss? I cannot reproduce this in production!:

enter image description here

Thanks in advance!

I came across a weird behaviour on our sandbox org which is currently on Winter 24. We have several lightning components that we use in all different kind of screen flows.

For whatever reason aura attributes from the typ "Boolean" are no longer working - no matter which lightning component. Basically it is not expection true/false anymore. I played around with other types like "String" and "Integer" which work totally fine.

Here is an example attribute:

<aura:attribute name="showCurrentUserAccounts" type="Boolean" default="true"/>

and this is what it looks like in the flow when trying to access it:

enter image description here

What do I miss? I cannot reproduce this in production!

Thanks in advance!

I came across a weird behaviour on our sandbox org which is currently on Winter 24. We have several lightning components that we use in all different kind of screen flows.

For whatever reason aura attributes from the typ "Boolean" are no longer working - no matter which lightning component. Basically it is not expection true/false anymore. I played around with other types like "String" and "Integer" which work totally fine.

Here is an example attribute:

<aura:attribute name="showCurrentUserAccounts" type="Boolean" default="true"/>

and this is what it looks like in the flow when trying to access it:

enter image description here

What do I miss? I cannot reproduce this in production:

enter image description here

Thanks in advance!

Source Link
Jan Tonnet
  • 87
  • 1
  • 11

Boolean aura attribute not working in lightning component

I came across a weird behaviour on our sandbox org which is currently on Winter 24. We have several lightning components that we use in all different kind of screen flows.

For whatever reason aura attributes from the typ "Boolean" are no longer working - no matter which lightning component. Basically it is not expection true/false anymore. I played around with other types like "String" and "Integer" which work totally fine.

Here is an example attribute:

<aura:attribute name="showCurrentUserAccounts" type="Boolean" default="true"/>

and this is what it looks like in the flow when trying to access it:

enter image description here

What do I miss? I cannot reproduce this in production!

Thanks in advance!