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
Comment #2
pameeela commentedThis was done across a bunch of other issues.