Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components.input.form() not showing when added to a dialog #101

Open
vaithu opened this issue May 31, 2020 · 0 comments
Open

Components.input.form() not showing when added to a dialog #101

vaithu opened this issue May 31, 2020 · 0 comments

Comments

@vaithu
Copy link

vaithu commented May 31, 2020

Adding a form to a dialog is not working if I use below code

Components.input.form()
                    .initializer(formLayout -> {
                        try {
                            formLayout.add(new TextField("Queue Name", mqQueue.getName(), ""));
                        } catch (MQException e) {
                            e.printStackTrace();
                            errorNotify(e.getMessage());
                        }
                    })
                    .build().getComponent());

whereas the below code is working

FormLayout layout = new FormLayout(new TextField("Queue Name", mqQueue.getName(), ""));

I'm trying to show a form in a dialog window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant