React Material UI Label Overlaps with Text

前端 未结 5 2342
一个人的身影
一个人的身影 2021-02-12 19:10

I\'m using Material UI in a React application and trying to implement an entity update page. In this, we would need to set the exiting values of the entity to let the user updat

5条回答
  •  轮回少年
    2021-02-12 19:36

    This is due to the undefined state of the value.

    This workaround works for me as a fallback:

    value= this.state.name || '';

    e.g. for Material-UI

提交回复
热议问题