Incomplete prop types specified in Column #2097
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
Spurious Vue warnings printed in the console when using functions for Column
field
prop, e.g.:[Vue warn]: Invalid prop: type check failed for prop "field". Expected String with value "d => d.calculateField(myVar)", got Function
Expected behavior
No warnings from Vue for valid code.
Minimal reproduction of the problem with instructions
field
propertyWhat is the motivation / use case for changing the behavior?
The use of functions is supported but prop types for
field
andfilterField
do not includeFunction
. Related to #1078, which corrected the Typescript definitions but not the Vue prop types.Please tell us about your environment:
The text was updated successfully, but these errors were encountered: