Problem/Motivation

There are many components with optional props, so not selecting a value is a valid state, but it doesn't correspond to the expected behaviour.

Example in the heading component where heading level is optional, but if you set it to none, it falls back to h2. If none is a valid selection, then there shouldn't be any heading tags added. Whether we leave it optional and support no heading tag, or we make it required and force a selection, I don't yet know but we should do one or the other. This is just one of many examples of this kind of scenario.

Comments

pameeela created an issue. See original summary.

pameeela’s picture

Status: Active » Closed (outdated)

This was done across a bunch of other issues.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.