chargebee-js-wrappers icon indicating copy to clipboard operation
chargebee-js-wrappers copied to clipboard

Vue wrapper CardComponent tries to access property that is not defined

Open mcelligottnick opened this issue 1 year ago • 1 comments

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.

mcelligottnick avatar Jul 11 '22 06:07 mcelligottnick