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

[BUG] React-Quill placeholder props does not update (is not translated eiter) #1049

Closed
spaenleh opened this issue Sep 18, 2024 · 0 comments · Fixed by #1050
Closed

[BUG] React-Quill placeholder props does not update (is not translated eiter) #1049

spaenleh opened this issue Sep 18, 2024 · 0 comments · Fixed by #1050
Assignees
Labels
bug 🪲 Something isn't working v5.0.1

Comments

@spaenleh
Copy link
Member

spaenleh commented Sep 18, 2024

Description

The translated placeholder text is not applied to the textarea.

Explanation of the bug

According to an old issue in react-quill a change of the placeholder prop does not cause its update in the quill editor.

The solution that is exposed by the authors in 2018 was to use a ref and a useEffect. Why they did not consider adding this in the react component themselves stays a mystery to me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working v5.0.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant