tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: In the Google browser, when editing the custom component of the form, there will be a problem that the input cannot be backfilled, especially numbers.
Version
3.12.1
Vue Version
2
Link to minimal reproduction
下面的表格编辑,截图是我输入了好多“1”,但是没有回填到文本框里面
等我失去焦点,只进去一个“1”
输入文字,不能回填文本框,但是失去焦点,推出编辑模式,会回显正常
Step to reproduce
下面的表格编辑,截图是我输入了好多“1”,但是没有回填到文本框里面
等我失去焦点,只进去一个“1”
输入文字,不能回填文本框,但是失去焦点,推出编辑模式,会回显正常
控制台 警告:
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: In the Google browser, when editing the custom component of the form, there will be a problem that the input cannot be backfilled, especially numbers.
问题已收录~。 另外,能否在演练场提供一个最小可复现demo~
Bot detected the issue body's language is not English, translate it automatically.
The question has been collected~. In addition, can you provide a minimum reproducible demo at the training ground~
@kongwoo 尝试使用表格中使用textarea,未能复现描述问题,能够提供一个可复现demo~
Bot detected the issue body's language is not English, translate it automatically.
@kongwoo tried to use textarea in the form, but failed to reproduce the description problem. Can you provide a reproducible demo~
我的问题是,我的表格在重复的换数据(包括表头和数据),根据不同的数据自动渲染,后面那个搞成文本域,没有回写,估计是在第一次的时候没有给key,不存在,我在验证验证
Bot detected the issue body's language is not English, translate it automatically.
My problem is that my table is repeatedly changing data (including table headers and data), and is automatically rendered based on different data. The latter one is made into a text field, and there is no write back. I guess it is because the key was not given the first time. , does not exist, I am verifying.
return { component: Input, attrs: { type: "textarea", resize: "vertical" }, }; 我会动态的给 表格设计编辑,我搞了个测试的,没有复现,没出来
@kongwoo 可能是没有加上key导致的某些异常,如无问题的话,可以联系我们关闭issue。如果加上key后还是有问题的话可以重开issue。
Bot detected the issue body's language is not English, translate it automatically.
@kongwoo There may be some exceptions caused by not adding the key. If there is no problem, you can contact us to close the issue. If you still have problems after adding the key, you can reopen the issue.
OK ,可以先关掉,我是用的场景比较奇特,一个表格搞了所有,后续我再研究研究
Issues-translate-bot @.***> 于2024年1月13日周六 11:39写道:
Bot detected the issue body's language is not English, translate it automatically.
@kongwoo https://github.com/kongwoo There may be some exceptions caused by not adding the key. If there is no problem, you can contact us to close the issue. If you still have problems after adding the key, you can reopen the issue.
— Reply to this email directly, view it on GitHub https://github.com/opentiny/tiny-vue/issues/1134#issuecomment-1890284584, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDYL4JI4HX23U6ECKUN3C7DYOH6XXAVCNFSM6AAAAABAUK2GAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGI4DINJYGQ . You are receiving this because you were mentioned.Message ID: @.***>