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

Allow commas in unquoted prop strings #3130

Merged
merged 1 commit into from
May 28, 2024
Merged

Allow commas in unquoted prop strings #3130

merged 1 commit into from
May 28, 2024

Conversation

falkoschindler
Copy link
Contributor

As noticed in discussion #3128, adding props like

.props('accept=.jpeg,.jpg,.png')

didn't work, because commas in a prop string required it to be wrapped in quotes:

.props('accept=".jpeg,.jpg,.png"')

But since I don't see a reason why dots are recognized as a value character but commas aren't, I added it to the PROPS_PATTERN.

@falkoschindler falkoschindler added the enhancement New feature or request label May 27, 2024
@falkoschindler falkoschindler added this to the 1.4.27 milestone May 27, 2024
@falkoschindler falkoschindler requested a review from rodja May 27, 2024 19:31
@rodja rodja merged commit 7a3cfc2 into main May 28, 2024
7 checks passed
@rodja rodja deleted the props branch May 28, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants