Skip to content

Conditional rendering is not working for accordion tabs #1459

Discussion options

You must be logged in to vote

@adityapatil9191 Here is fixed version [1]

  1. you mapped children of tabs to tabs, I created a new tab so it's wrapped as a new field.
  2. your autocomplete component is wrong - you store a whole object there, but you need to store data.value
onChange={(_, data) => input.onChange(data.value)}

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@adityapatil9191
Comment options

@rvsia
Comment options

@adityapatil9191
Comment options

@rvsia
Comment options

Answer selected by rvsia
@adityapatil9191
Comment options

@adityapatil9191
Comment options

@rvsia
Comment options

@adityapatil9191
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1458 on May 10, 2024 12:01.