Preact: X cannot work with material-ui TextField

Created on 7 Jul 2019  路  4Comments  路  Source: preactjs/preact

I create a codesandbox to show the problem:
https://codesandbox.io/s/goofy-davinci-nnwgo?fontsize=14

I first guess it's related to this PR in 10.0.0-beta.1. But I tried to install beta.0. It's also broken.
Other possible is ref?

Have no time to dig in the problem. Open a ticket there for whom may also encounter the issue.

Most helpful comment

@yuqianma hey I found the fix, it was due to https://github.com/preactjs/preact/pull/1438 implicitly removing support for uncontrolled inputs. Thank you so much for bringing it to our attention and the awesome reproduction!

All 4 comments

Hey @yuqianma thanks for taking time out of your day to reproduce the issue and bring it to our attention. This is highly appreciated, I'll update this comment as I go through it.

So I have found that it got introduced in the alpha.3 version

@JoviDeCroock You are so actively reply the issue every time! It's joyful to code in the preact community!

@yuqianma hey I found the fix, it was due to https://github.com/preactjs/preact/pull/1438 implicitly removing support for uncontrolled inputs. Thank you so much for bringing it to our attention and the awesome reproduction!

@JoviDeCroock Sooooo quick!!! Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kossnocorp picture kossnocorp  路  3Comments

kay-is picture kay-is  路  3Comments

SabirAmeen picture SabirAmeen  路  3Comments

nopantsmonkey picture nopantsmonkey  路  3Comments

adriaanwm picture adriaanwm  路  3Comments