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

Input fields inside slides not updating properly #670

Open
kmai-universe opened this issue Sep 29, 2023 · 3 comments
Open

Input fields inside slides not updating properly #670

kmai-universe opened this issue Sep 29, 2023 · 3 comments

Comments

@kmai-universe
Copy link

kmai-universe commented Sep 29, 2023

If i add an element inside a slide and update its value through js, then this change is not reflected in the UI. The input does get the new value if you retrieve it through js but it's not updated on the display.

Steps to reproduce:

  1. Create a slide or carousel
  2. Add an inside the slide
  3. Update the value through JS with document.getElementById('yourinput').value = 'Updated!'
  4. Observe that the input still shows "Hello" on the display
  5. Run a yourinput.value and observe that it returns "Updated!"

EDIT: This is only a problem when using the carousel type. If you set type to 'slider' then input elements work correctly.

@caroline-iordache
Copy link

@kmai-universe I have the same issue. Did you find a workaround ? Thanks.

@kmai-universe
Copy link
Author

My hotfix atm is to change it from an infinity slider to the type where it moves to the beginning when it reaches the end of slides.

@caroline-iordache
Copy link

Thank you for you answer, I think I'll do the same

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

No branches or pull requests

2 participants