React Material UI Label Overlaps with Text

前端 未结 5 1715
滥情空心
滥情空心 2021-02-12 18:59

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:38

    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

提交回复
热议问题