Skip to content

Add data lists for available code lists and versions to the published code list reference editor #17416

@TomasEng

Description

@TomasEng

The published code list reference editor created in #17414 should have data lists attached to the input fields for the name and the verson of the code list.

Definition of done

  • When the user is about to input a code list name in the editor, a list of code lists published by the user's organisation appears
  • When the user is about to input a code list version in the editor, and a valid code list is selected, the available version numbers are displayed
  • When an inexistent list is chosen, the user is warned with a descriptive message

Implementation details

We may use the usePublishedResourcesQuery hook to gather the data, and the HTML <datalist> tag to display the available values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ui-editorArea: Related to the designer tool for assembling app UI in Altinn Studio.frontendsquad/dataIssues that belongs to the named squad.

    Type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions