How to set a textField into a Caption

Hi, im trying to set a vaadin textField in a panel caption but is not working

products.setCaption("Product data" + "<div id='nameID' >" + "ID: " + theProduct.getId() + "<div>");

this code can show me the item ID in the panel caption and seems like a normal label, now I’m trying to find the way to set a textField in that place, but only work with normal html input but I need a vaadin textField.

Thanks in advance for your help.


Currently, it’s not possible to place Components inside the Panel caption. You are limited to plain text or HTML.

Thanks for yout reply!