Skip to content

Commit

Permalink
chore: Add working helper text
Browse files Browse the repository at this point in the history
Updated the helper text in QuestionLabel to use the old but working placeholder and added hint style for a more consistent look and feel.
  • Loading branch information
luandro committed Dec 9, 2024
1 parent 718496c commit 58e601f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frontend/screens/ObservationFields/QuestionLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export const QuestionLabel = ({field}: Props) => {
<HeaderText variant="header3">
<FormattedFieldProp field={field} propName="label" />
</HeaderText>
{<HeaderText variant="header5">{field.helperText}</HeaderText>}
{
<HeaderText variant="header5" style={styles.hint}>
{field.placeholder}
</HeaderText>
}
</View>
);
};
Expand Down

0 comments on commit 58e601f

Please sign in to comment.