[Custom Components] Request for Select Input example with data from external source

Aberta
#538 9 comentários 0 reações 1 responsável Ver no GitHub

@Tatsiana8 já está trabalhando nisso.

Desde 31/7/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

question scope: community scope: custom components

I've been trying to get a custom select component working with data from an outside source int othe builder with 0 success. Tried to build off of the rating component and switch some things up but trying to get data from an external source and have it useable in the builder and render has eluded me. Is there a chance we could see an example of making a custom select component? for my purposes I dont even want the user to be able to use an edit form, just want to give them the ability to drag and drop a select component into the builder that will when rendered give them a selection of users gathered by an api call.

Anything like that would be great! Ive tried a custom template, extending the forms and components etc etc, but it just doesnt seem to want to work. wither i get something sort of together but the data wont populate, or the data will populate but the component won't render.

I've not included my code because I don't really want a fix to what I am doing so much as a guide as to the proper way to create something of the like.

Linguagem predominante
TypeScript
Estrelas
706
Forks
493
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de formio/angular

Todas as issues de formio/angular

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.