react-page / react-page

Next-gen, highly customizable content editor for the browser - based on React and written in TypeScript. WYSIWYG on steroids.

Home Page:https://react-page.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MUI Error when trying to change the language with v5

hmbrg opened this issue ยท comments

Describe the bug
After upgrading to v5, I've noticed that switching between languages is not possible anymore, with the following error printing in the console: Warning: Use the defaultValueorvalueprops on <select> instead of settingselected on <option>.
I can't select any option in the select component.

To Reproduce
Steps to reproduce the behavior:

  1. Configure languages with the Editor component
  2. Try to change the language for a block -> Error!

Expected behavior
The language switches correctly.

Screenshots
CleanShot 2022-07-05 at 21 59 08@2x

Additional context
Using v5.

Thanks for looking into this!

@hmbrg thanks for the heads up, i will have a look

๐ŸŽ‰ This issue has been resolved in version 5.0.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€