Skip to content

Conversation

arthurpark
Copy link

Before applying animation, it checks if the component is rendered to prevent js error.
When ToggleSlide form field's value is changed before it is rendered, it causes an error.

To reproduce,

  1. Put a toggleslidefield inside tabpanel's second tab which doesn't show initially. then put the tabpanel inside a formpanel.
  2. form.loadRecord to change slidetoggle's value.

Before applying animation, it checks if the component is rendered to prevent js error.
When ToggleSlide form field's value is changed before it is rendered, it causes an error.

To reproduce, 
1. Put a toggleslidefield inside tabpanel's second tab which doesn't show initially. then put the tabpanel inside a formpanel.
2. form.loadRecord to change slidetoggle's value.
@volkerrichert
Copy link

I also ran into this bug and just start to fix it.

But this will fix it. THANX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants