How can i create a textField and dropdown like HTMLElement using theia

I am trying to create a inputField with the help of the class ‘SingleTextInputDialog’ present in ‘@theia/core/lib/browser’.But i can not access the inputField instance.How can i create a new InputField.

[original thread by SOWMITHRACHINNADURAI]

Hi, why do you want to access it?

It should be used like here: https://github.com/eclipse-theia/theia/blob/3b4b1e592f23073921a305df0d9c963971d907a8/packages/debug/src/browser/view/debug-watch-expression.tsx#L54-L58

It can be extended like here: https://github.com/eclipse-theia/theia/blob/d2ac015f1ab2e41aca807db9b3f1911e7091ffc5/packages/workspace/src/browser/workspace-input-dialog.ts#L30