Project

General

Profile

News

MO Cinder 3.0 will break the form primitives

Added by Mara Oyelaran 2 months ago

3.0 rewrites the form primitives on the new focus model. This is a breaking change and it is the only one in the release.

What changes: inputs, selects, checkboxes, radios and the combobox take their label as a child rather than a prop, and the error slot moves inside the field. What that buys is a focus ring that is no longer clipped inside a scrollable container and a combobox that announces its active option properly.

A codemod handles the mechanical rename. The label change needs a human where the label was computed. The migration note on the wiki lists every changed export.

    (1-1/1)

    Also available in: Atom