Invalid prop: type check failed for prop "stackLabel". Expected Boolean, got String ...
-
Hi forum,
while using the QInput component like so:
<q-input v-model="voltage" stack-label="voltage" placeholder="put voltage here ..." suffix="V" type="number" />
i get this strange warning:
[Vue warn]: Invalid prop: type check failed for prop “stackLabel”. Expected Boolean, got String with value “voltage”.
Thanks for help
Jan -
@janviehweger you gave it a string value just
stack-label
is enough to set it or if voltage is a boolean data model,:stack-label="voltage"
, with a colon:
. -
@metalsadman said in Invalid prop: type check failed for prop "stackLabel". Expected Boolean, got String ...:
@janviehweger you gave it a string value just
stack-label
is enough to set it or if voltage is a boolean data model,:stack-label="voltage"
, with a colon:
.ahh thanks, i was somehow routed to the 0.14 docs which show this usage.