diff --git a/.changeset/angular-builtin-types.md b/.changeset/angular-builtin-types.md new file mode 100644 index 0000000..be461f4 --- /dev/null +++ b/.changeset/angular-builtin-types.md @@ -0,0 +1,5 @@ +--- +'@dynamic-field-kit/angular': patch +--- + +The built-in fallback covers all fourteen field types the README lists, as in the React, Vue and Svelte adapters. `radio`, `range`, `file`, `date`, `time`, `datetime-local` and `switch` used to render "Unknown field type" when no renderer was registered. They now draw the same controls as the other adapters: a radio group (`role="radiogroup"`, named by its caption through `aria-labelledby`, a label per button, emitting the option's own value), a range that emits a number and starts at `min`, a file input that emits the `File` (an array for `multiple`, `null` when cleared), date and time inputs that emit the browser's ISO text, and a switch drawn as a checkbox. Each gets the label, `aria-invalid` and `aria-describedby` the other built-in controls have. diff --git a/docs/MIGRATING.md b/docs/MIGRATING.md index 996daac..4b7ebcf 100644 --- a/docs/MIGRATING.md +++ b/docs/MIGRATING.md @@ -35,6 +35,10 @@ there was no label at all, so the control had no accessible name. What moved: own CSS if your design shows the label elsewhere, but keep it in the page. - **Radio groups** have `role="radiogroup"` and `aria-labelledby` pointing at a `` caption (a group cannot take `