Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextField with HelperText inside FormField not shown properly #392

Open
ccosmincc opened this issue Jan 11, 2022 · 1 comment
Open

TextField with HelperText inside FormField not shown properly #392

ccosmincc opened this issue Jan 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ccosmincc
Copy link

Describe the bug
Adding a TextField with HelperText inside a FormField will show the helper text on the right side of the text field, instead of displaying it below.

To Reproduce

<script>
  import TextField from "@smui/textfield";
  import HelperText from '@smui/textfield/helper-text';
  import FormField from "@smui/form-field";
</script>

  <FormField>
    <TextField label="Label" value=''>
      <HelperText persistent slot="helper">Helper Text</HelperText>
    </TextField>
  </FormField>

Expected behavior
The helper text should be displayed below the text field, in the same way it's being displayed when the text field is not inside a form field.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 97.0.4692.71
@ccosmincc ccosmincc added the bug Something isn't working label Jan 11, 2022
@eltiare
Copy link

eltiare commented Jul 3, 2022

I'm running in to this too. Is there a quick workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants