diff --git a/.changeset/weak-boats-destroy.md b/.changeset/weak-boats-destroy.md new file mode 100644 index 0000000000..26e9b4c8bf --- /dev/null +++ b/.changeset/weak-boats-destroy.md @@ -0,0 +1,5 @@ +--- +"@talend/design-system": patch +--- + +Form field label property "required" can now be overriden by passing props diff --git a/.changeset/wet-sloths-talk.md b/.changeset/wet-sloths-talk.md new file mode 100644 index 0000000000..fdaba236cb --- /dev/null +++ b/.changeset/wet-sloths-talk.md @@ -0,0 +1,5 @@ +--- +"@talend/react-forms": patch +--- + +UI Form fields with both hint and required asterisk are now displayed correctly diff --git a/packages/design-system/src/components/Form/Primitives/Field/Field.tsx b/packages/design-system/src/components/Form/Primitives/Field/Field.tsx index 9390862f08..0155e9a6bf 100644 --- a/packages/design-system/src/components/Form/Primitives/Field/Field.tsx +++ b/packages/design-system/src/components/Form/Primitives/Field/Field.tsx @@ -47,10 +47,10 @@ const Field = forwardRef( const LabelComponent = hideLabel ? ( - ) : ( -