Describe the bug
When createUploaderComponent has been created, emits specification only described the usage as an array (eg. ['update:label', 'change']), later on they added the ability to provide an object for stricter type checking and validation, very much like props.
Currently createUploaderComponent only supports emits as an array and props as an object
Describe the bug
When
createUploaderComponenthas been created,emitsspecification only described the usage as an array (eg.['update:label', 'change']), later on they added the ability to provide an object for stricter type checking and validation, very much likeprops.Currently
createUploaderComponentonly supportsemitsas an array andpropsas an objectCodepen/jsFiddle/Codesandbox (required)
Fork a Codepen (https://codepen.quasar.dev) or a jsFiddle (https://jsfiddle.quasar.dev) or a Codesandbox (https://codesandbox.quasar.dev) and hit save then copy-paste link here.
To Reproduce
Steps to reproduce the behavior:
then use the component anywhere and a warning (at least) will be fired
Expected behavior
propsandemitsshould support both Array and Object stylesPlatform (please complete the following information):
Quasar Version: 2.x
@quasar/app Version: 3.x
Quasar mode:
Tested on:
OS: Linux 18.04
Node: 12.22.6
NPM: 6.14.15
Yarn: 1.22.5
The text was updated successfully, but these errors were encountered: