vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
618 stars 167 forks source link

Flow doesn't work with Gold Elements #4176

Open ZheSun88 opened 6 years ago

ZheSun88 commented 6 years ago

step to reproduce:

  1. https://vaadin.com/start/v10-component
  2. using a Gold Element in the Web component GitHub URL (have tested with gold-cc-expiration-input, gold-zip-input, gold-phone-input and gold-cvc-input)
  3. download the project and unzip the fold
  4. run mvn clean jetty:run and nevigate to localhost:8080

expected behavior

the Element can load and show in the UI

actual behavior

Error message: NotSupportedError: Failed to construct 'CustomElement': The result must not have attributes

pleku commented 6 years ago

We should investigate what is the actual reason for this, and at minimum mention on documentation that a) gold elements won't work because of X ? b) hybrid elements won't work because of X ?