rax icon indicating copy to clipboard operation
rax copied to clipboard

[BUG] InputFiled.label只能传入string,否则小程序端会死循环

Open xmsz opened this issue 3 years ago • 2 comments

⌨️

  • [ ] Would you like to work on a fix?

Where is the bug from?

Fusion Mobile

Minimal code and steps to reproduce the bug

   <InputField label={<div>123</div>}name="test"/>

Current and expected behavior

死循环

Environment

最新

build.json

No response

Possible solution

No response

Additional context

No response

xmsz avatar Apr 16 '22 09:04 xmsz

可能相关的问题

const a = <div>!23</div>
<InputField isPreview renderPreview={() => <div>{a}</div>} />

同样会出现死循环

Uploading image.png…

xmsz avatar Apr 22 '22 07:04 xmsz

any update?

xmsz avatar Oct 09 '22 10:10 xmsz