Question: I have a dialog box that appears and while closing keyboard with `hideKeyboard();` all the form is closed and i get back to the home page so that i can't continue the scenario for filling other data. 

Here the screen : 

[![enter image description here](https://i.stack.imgur.com/oYjFR.png)](https://i.stack.imgur.com/oYjFR.png)

Answer: 
Use @JsonIgnore, this will make it available in the back but will not return when transforming to json

```
@Size(min = 8)
@JsonIgnore
private String password;

```
use

> 
> @Basic(fetch = FetchType.LAZY)
> 
> 
> 

for example:

```
  //todo required annotation
    @Basic(fetch = FetchType.LAZY)
    private String password;

```

**warning : don't forget to exclude from toString method**