-
Notifications
You must be signed in to change notification settings - Fork 76
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
Can't use {id} in parameter sent to event handler method when using UUID #20
Comments
Update: This is caused by id being UUID instead of integer. Is this something that would be easy to fix? |
Wrap the parameter with quotes |
Now I just receive the string "{id}" as a parameter to my method instead of the actual UUID value. I've tried different ways (single quotes, escaping the quote, etc.) and still could not make this work. Have you tried your solution? If so, could you provide a working jsfiddle please? |
Nevermind, I got it to work outsite my main project... |
It works for static records passed directly as an array in |
Add
where |
I did that but for some reason it doesn't work for me. My edit button: (Note: If i use an integer for example the My Edit Function is just: |
See #93. |
I'm using the following template for a delete button, which doesn't work as it should:
And I can't get the id parameter to go through to my method, receiving the following error in the console:
I can get the method to be called properly by removing the parameter, but this is useless for a delete button.
My complete vue-tables options look like this:
And individual data records look like this:
What am I doing wrong? I tried using
@click="$parent.deleteClassified(id)"
but got undefined back.The text was updated successfully, but these errors were encountered: