Invalid prop: custom validator check failed for prop "h"

This issue has been tracked since 2019-04-12.

What this means? I can not resolved this error message:

vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: custom validator check failed for prop "h".

found in

---> at src/components/vue-drag-resize.vue

Ansel wrote this answer on 2019-04-16

@mirkofisic The height of your vue-drag-resize component must be set. You should bind a number prop "h".

kattianirudh97 wrote this answer on 2020-01-28

I have the following code
boundingBoxCoordinates: {
x: 0,
y: 0,
height: 0,
width: 0
}

< VueDragResize >
:isActive="true"
:w="boundingBoxCoordinates.width"
:h="boundingBoxCoordinates.height"
:x="boundingBoxCoordinates.x"
:y="boundingBoxCoordinates.y"
:preventActiveBehavior="true"
v-on:resizing="resize"
v-on:dragging="resize"
:minw="5"
:minh="5">
</ VueDragResize >

Invalid prop: custom validator check failed for prop "h".

What can i do here to remove the error here?

wwwvvvv wrote this answer on 2021-04-21

I added the prop 'preventActiveBehavior' to resolve this problem

evancohe wrote this answer on 2021-07-30

because you use String instead of Number

More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date