Skip to content

No way to render selected options errors as part of the component #106

@a3kov

Description

@a3kov

Currently there's no way to render a selected option error. For example, if somebody is using LS with embeds/assocs, they may have an error in currently selected option. Let's say a user picks an option and saves it in the DB. Initially the option is valid, but later becomes invalid due to external events, and we need to highlight this next time the form is rendered. Then the user's job is to review the invalid options and to remove them. We obviously can't do that automatically, as that would be terrible UX.

If there are errors on the association level, they can be rendered with the text field, but that is not good enough, as some options can be valid so we need to distinguish between them. Besides, the text field is only for entering new options, and is not associated UI-wise with the selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions