-
Notifications
You must be signed in to change notification settings - Fork 443
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
Table No Data text is not editable #1108
Comments
same issue |
Yeah I have this issue too, really frustrating actually. I didn't have this issue when I did the same configuration with the Vue.js package. |
I think this link may help you: https://elemefe.github.io/element-react/index#/zh-CN/i18n webpack.config.js{
plugins: [
new webpack.NormalModuleReplacementPlugin(/element-react[\/\\]src[\/\\]locale[\/\\]lang[\/\\]zh-CN/, 'element-react/src/locale/lang/en')
]
} |
Hi Alex, thank you so much for your response. I solved that by copying repo and using it as a local npm module also by that way I solved some other issues that I gave up. They mostly forgot add typings, if you have similar problems with me I strongly suggest. |
Description
When there is no data in the table the text will be displayed is not editable it does not exist on the TableProps.
Moreover I internationalized the element-react to English by using
import { i18n } from "element-react"; import locale from "element-react/src/locale/lang/en"; i18n.use(locale);
And still the text displaying automatically is "暂无数据"
It is very annoying and I guess easily solvable. If you can help I will be so appreciated.
The text was updated successfully, but these errors were encountered: