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

should fix issue 660 #780

Merged
merged 3 commits into from
Jan 5, 2021
Merged

should fix issue 660 #780

merged 3 commits into from
Jan 5, 2021

Conversation

mp3000mp
Copy link
Contributor

Add name attribute to filters input with the following pattern :
`vgt-${column.field}`

Previously, the only way to have access to a specific filter was 'input[placeholder="Search"]'.
We can now use 'input[name="vgt-field1"]', that is a better opotion as "name" attribute should be unique in most cases.

This addresses #660

@@ -134,6 +137,10 @@ export default {
return placeholder;
},

getName(column) {
return `vgt-' + ${column.field}`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Im not the project owner. But I noticed this. Your mixing template strings with + '

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for noticing, I've fixed it.

@xaksis xaksis merged commit 216be53 into xaksis:master Jan 5, 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