Bind and null value

I have one bean that have one String propertie with a null value. but when I bind that propertie to an TextField and got the bean after validation the value of this properties change from null to “” even if my user dont change anything.

Can I configure the bean to NOT change the null values?

tks

Binding builder has withNullRepresentation(...)

but this is how I will show in my textfield when the value are null. and not one allowNull or something like this

it is not only about representation. Javadoc says “Maps binding value null to given null representation and back to null when converting back to model value”

works… tks :smile: