Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToggleSlide animation error #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants