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

Enhance grommet/formfield-htmlfor-id, grommet/formfield-name to support composed formfield layouts #47

Open
taysea opened this issue Jul 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@taysea
Copy link
Collaborator

taysea commented Jul 5, 2023

Enhance grommet/formfield-htmlfor-id, grommet/formfield-name to support the pattern where the input might not be the direct child of the formfield.

<FormField
                  htmlFor="migration-threshold"
                  name="migration-threshold"
                  label="Migration threshold"
                >
                  <Box
                    direction="row"
                    gap="small"
                    pad={{ horizontal: 'small', vertical: 'xsmall' }}
                  >
                    <Text>0%</Text>
                    <RangeInput
                      id="migration-threshold"
                      name="migration-threshold"
                      min={0}
                      max={50}
                    />
                    <Text>50%</Text>
                  </Box>
                </FormField>

What did you expect to happen?

What actually happened? Please copy-paste the actual, raw output from ESLint.

Steps to reproduce this issue:

What parser (default, @babel/eslint-parser, @typescript-eslint/parser, etc.) are you using?

Please show your full configuration:

Configuration

Tell us about your environment

  • eslint-plugin-grommet:
  • ESLint Version:
  • Node Version:
  • Operating System:
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

1 participant