Skip to content

adding glob to label-has-associated-control #735

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

Closed
wants to merge 1 commit into from

Conversation

lilia-paz
Copy link

fixes issue #720

Request to add glob or regex to controlComponents in label-has-associated-control. Added glob to components

Comment on lines +61 to +66
'*Input',
'*Meter',
'*Output',
'*Progress',
'*Select',
'*Textarea',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I'm not sure how this actually resolves the issue tho - these are just the defaults (which should not have asterisks). mayContainChildComponent is what likely needs to be tweaked to support stars.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jordan, thanks for your comment. I'm going to modify mayContainChildComponent and was going to include the package, picoMatch, for globs. Does this work? Thanks again.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer using minimatch, but sounds great thanks

@jessebeach
Copy link
Collaborator

Thank you for the PR @lilia-paz . Please reopen this PR when you plan to continue working on it.

@jessebeach jessebeach closed this Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants