diff --git a/.changeset/fair-apples-cough.md b/.changeset/fair-apples-cough.md new file mode 100644 index 00000000..d16864a6 --- /dev/null +++ b/.changeset/fair-apples-cough.md @@ -0,0 +1,5 @@ +--- +'@asgardeo/react': patch +--- + +Fix passwords still having `text` type diff --git a/packages/react/src/components/presentation/SignUp/transformer.ts b/packages/react/src/components/presentation/SignUp/transformer.ts index 362f4d6d..544eb25c 100644 --- a/packages/react/src/components/presentation/SignUp/transformer.ts +++ b/packages/react/src/components/presentation/SignUp/transformer.ts @@ -117,7 +117,7 @@ const convertSimpleInputToComponent = ( type: EmbeddedFlowComponentType.Input, variant, config: { - type: input.type, + type: fieldType, label, placeholder, required: input.required as boolean,