Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Person search component #2492

Open HauklandJ opened 1 month ago

HauklandJ commented 1 month ago

A component that lets the app user search for people. The search requires NIN and surname - utilizing the Altinn.Api endpoint which integrates with Folkeregisteret. The component config should specify where to store the result in the data model. This allows the app developer to decide where in their datamodel this should be stored.

Figma: https://www.figma.com/design/NRczaFNKNCDcxvlMuv1WMP/Signering?node-id=484-110710&node-type=canvas&t=QFYdOd2HuL7DUDJ2-0

Closes #102

HauklandJ commented 1 month ago

Should PersonSearch component be a wrapper around repeating group, or should the personsearch component be used inside a repeating group?

@olemartinorg We would like your input here, preferrably over call :)

olemartinorg commented 1 month ago

Not sure, is it fundamentally repeating in any way? I don't see why this would be related, but the issue doesn't describe the user-facing functionality either. Is this a duplicate of #102?