Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

322
Visualizações
How do I make the sub items selectable particular under Accordion in react-native?

I'm making custom Accordion with custom sub items as radio buttons. As you can see, I already create the accordion but stuck in selection of the sub item.

The issue is the when I select one item then all sub-items under that main accordion tab are selects. I want the particular one should be selected when select and the default the first one should be selected when anyone comes to this page like as first accordion tab is expanded and first sub-item should be selected.

Please help me. Below is the full code expo link mentioned:

https://snack.expo.dev/@john.ocean/crabby-churros

Screen shot of the issue is below:

enter image description here

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

checkout the updated code here : https://snack.expo.dev/T1q7WFzPP

Had some issues with the logic of your subcategory item selection. And thanks for providing expo link.

about 4 years ago · Santiago Gelvez Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda