tiny-vue icon indicating copy to clipboard operation
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.

Open kongwoo opened this issue 1 year ago • 11 comments

Version

3.12.1

Vue Version

2

Link to minimal reproduction

下面的表格编辑,截图是我输入了好多“1”,但是没有回填到文本框里面 image 等我失去焦点,只进去一个“1” image 输入文字,不能回填文本框,但是失去焦点,推出编辑模式,会回显正常

Step to reproduce

下面的表格编辑,截图是我输入了好多“1”,但是没有回填到文本框里面 image 等我失去焦点,只进去一个“1” image 输入文字,不能回填文本框,但是失去焦点,推出编辑模式,会回显正常 控制台 警告: image

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

kongwoo avatar Dec 14 '23 06:12 kongwoo

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.

Issues-translate-bot avatar Dec 14 '23 06:12 Issues-translate-bot

问题已收录~。 另外,能否在演练场提供一个最小可复现demo~

gimmyhehe avatar Dec 27 '23 10:12 gimmyhehe

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~

Issues-translate-bot avatar Dec 27 '23 10:12 Issues-translate-bot

@kongwoo 尝试使用表格中使用textarea,未能复现描述问题,能够提供一个可复现demo~

gimmyhehe avatar Dec 29 '23 02:12 gimmyhehe

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~

Issues-translate-bot avatar Dec 29 '23 02:12 Issues-translate-bot

我的问题是,我的表格在重复的换数据(包括表头和数据),根据不同的数据自动渲染,后面那个搞成文本域,没有回写,估计是在第一次的时候没有给key,不存在,我在验证验证

kongwoo avatar Jan 12 '24 09:01 kongwoo

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.

Issues-translate-bot avatar Jan 12 '24 09:01 Issues-translate-bot

return { component: Input, attrs: { type: "textarea", resize: "vertical" }, }; 我会动态的给 表格设计编辑,我搞了个测试的,没有复现,没出来

kongwoo avatar Jan 12 '24 09:01 kongwoo

@kongwoo 可能是没有加上key导致的某些异常,如无问题的话,可以联系我们关闭issue。如果加上key后还是有问题的话可以重开issue。

gimmyhehe avatar Jan 13 '24 03:01 gimmyhehe

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.

Issues-translate-bot avatar Jan 13 '24 03:01 Issues-translate-bot

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: @.***>

kongwoo avatar Jan 19 '24 01:01 kongwoo