web-components icon indicating copy to clipboard operation
web-components copied to clipboard

What does "placing multiple fields directly to a <vaadin-form-item> is deprecated" mean?

Open archiecobbs opened this issue 3 years ago • 0 comments

Description of the bug

The API for FormLayout allows adding Component's, not fields.

So what the heck is this supposed to mean??

Screen Shot 2022-08-12 at 11 14 49 AM

The implication seems to be that adding anything other than a single "field" is wrong. But that's not what the API defines.

I didn't see anything relating to FormLayout in the release notes.

Expected behavior

No scary/mysterious warnings emitted.

Minimal reproducible example

I'm not sure what part of my application is causing this.

If you can't figure out how this is occurring then let me know and I'll put together a demonstration.

Versions

  • Vaadin / Flow version: 23.1.3
  • Java version: 11
  • OS version: Mac OS
  • Browser version (if applicable): Firefox 103.0.1
  • Application Server (if applicable): Tomcat 9.x
  • IDE (if applicable): N/A

archiecobbs avatar Aug 12 '22 16:08 archiecobbs