Skip to content

Commit

Permalink
fix(jsx): textarea type should accept text children
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Oct 30, 2024
1 parent aa9fefd commit 93b9b57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gentle-adults-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@builder.io/qwik': patch
---

FIX: the type for `<textarea>` now accepts text children, as per spec.
2 changes: 1 addition & 1 deletion packages/qwik/src/core/render/jsx/types/jsx-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ type SpecialAttrs = {
form?: string | undefined;
value?: string | ReadonlyArray<string> | number | undefined;
'bind:value'?: Signal<string | undefined>;
children?: undefined;
children?: string;
};
track: {
children?: undefined;
Expand Down

0 comments on commit 93b9b57

Please sign in to comment.