Skip to content

Face Value Input Guardrails #358

@lynnfaraday

Description

@lynnfaraday

In the Face component, the faceValue property uses number type, but there are no guardrails on the value. You can end up with a broken image:

image

I wonder if it would be better to make this an enum to reflect the fixed list of possible values? Or at least handle the error case more gracefully so it doesn't result in a broken image icon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions