You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the file gets the "Designer" icon, the "Open in Vaadin Designer" button doesn't appear.
If you rename the class to CustomElement and the tag to custom-element, and close and reopen the editor, the Open in Vaadin Designer button appears.
Expected behavior
Either the file can be opened up in Designer, or there's an error indicating that the tag / customelement name must match the filename.
IDE, Designer and OS version
IntelliJ Idea
Designer version: 4.6.2
OS: Windows 10
The text was updated successfully, but these errors were encountered:
This case may happen when creating the template manually (i.e when TS template hasn't been supported in "New Vaadin 10+ Design" dialog yet #2382), when the template name or content doesn't match LitElement syntaxes, the template isn't recognized by Designer.
I also saw a case when VSCode formats a TS/Lit template from Starter and Designer also can't recognize it anymore.
I would like to follow Vaadin 8 practice: opening an invalid design will show a dialog that indicating the error.
Steps to reproduce
custom-element.ts
in thefrontend
folder of a Vaadin 14.5.0.alpha3 projectActual behavior
While the file gets the "Designer" icon, the "Open in Vaadin Designer" button doesn't appear.
If you rename the
class
toCustomElement
and the tag tocustom-element
, and close and reopen the editor, the Open in Vaadin Designer button appears.Expected behavior
Either the file can be opened up in Designer, or there's an error indicating that the tag / customelement name must match the filename.
IDE, Designer and OS version
IntelliJ Idea
Designer version: 4.6.2
OS: Windows 10
The text was updated successfully, but these errors were encountered: