chargebee / chargebee-js-wrappers

25 stars 10 forks source link

Vue wrapper CardComponent tries to access property that is not defined #95

Open mcelligottnick opened 2 years ago

mcelligottnick commented 2 years ago

On mount the CardComponent renders and tries to pass this.class as a prop, but class is not defined on the component, so Vue throws a warning:

runtime-core.esm-bundler.js:38 [Vue warn]: Property "class" was accessed during render but is not defined on instance. 
  at <CardComponent ref="card" class="fieldset field" currency="AUD"  ... > 

There is a classes property so I wonder if this should have been used instead.

shawnhooper commented 2 years ago

We're seeing the same error in our app too.