diff --git a/.changeset/flat-kangaroos-tan.md b/.changeset/flat-kangaroos-tan.md new file mode 100644 index 0000000000..cb3e03d8c0 --- /dev/null +++ b/.changeset/flat-kangaroos-tan.md @@ -0,0 +1,5 @@ +--- +'@builder.io/mitosis': major +--- + +Solid: stop mapping `for` to `htmlFor` diff --git a/packages/core/src/generators/solid/blocks.ts b/packages/core/src/generators/solid/blocks.ts index 14dd1abd33..71533a4d7f 100644 --- a/packages/core/src/generators/solid/blocks.ts +++ b/packages/core/src/generators/solid/blocks.ts @@ -10,7 +10,7 @@ import { collectClassString } from './helpers/styles'; import { ToSolidOptions } from './types'; const ATTTRIBUTE_MAPPERS = { - for: 'htmlFor', + // for: 'htmlFor', }; const transformAttributeName = (name: string) => {