Skip to content

[b-table] unexpected input event triggered by reactive data used in triggered method #2231

Closed
@ryleyb

Description

@ryleyb

I'm seeing a case where the @input event is being triggered by reactive data in the method that is called. I attach @input="myMethod" to a b-table. In myMethod() I reference a piece of data in my app. Now, if my data changes, the @input event is triggered. I expect that @input should trigger when the data changes in the b-table. Not in any other case, regardless of what my method does.

See: https://jsfiddle.net/vbeyfhjr/

This is the expected behaviour, https://jsfiddle.net/bLmr4zuo/ you'll have to watch the console as you click the "Remove Item" button to see that it triggers once per change to the actual table data.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions