0 votes
in Vaadin Unplugged by
Which of the following Code Snippet is used to display error message to the user for a Text Field component?

a) textfield.setComponentError(new Error(“InCorrect value”));

b) textfield.setError(new UserError(“InCorrect value”));

c) textfield.setComponentError(new UserError(“InCorrect value”));

d) All the options

1 Answer

0 votes
by
textfield.setComponentError(new UserError(“InCorrect value”));

Related questions

0 votes
asked Nov 4, 2022 in Vaadin Unplugged by sharadyadav1986
0 votes
asked Nov 4, 2022 in Vaadin Unplugged by sharadyadav1986
...