Skip to content
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

using option message component display repeat option #350

Open
shinescy opened this issue Sep 10, 2022 · 1 comment
Open

using option message component display repeat option #350

shinescy opened this issue Sep 10, 2022 · 1 comment

Comments

@shinescy
Copy link

my code:
var messages = [ { id: '1', message: 'hello~!', trigger: '2', }, { id: '2', options: [ { value: 1, label: '1111', trigger: '3' }, { value: 2, label: '222', trigger: '4' }, { value: 3, label: '333', trigger: '5' } ] }, ......

but display:
截屏2022-09-10 15 50 10

@AlexisToranzoAR
Copy link

You have to remove the strict mode of react. Because it generates that extra rendering :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants