Thanks, but it seems it is not possible at all. I need to map values
to case class by hand (again :( ).
I look in to sources and it seems it is not possible at all. In the
Form bind method:
def bind(data: Map[String, String]): Form[T] =
mapping.bind(data).fold(
errors => this.copy(data = data, errors = errors, value = None),
value => this.copy(data = data, errors = Nil, value =
Some(value)))
value is always None if mapping bind was failed.
On 15 ноя, 18:45, Julien Richard-Foy <
j...@zenexity.com> wrote:
> You can’t do that directly. But if you’re using the 2.1 branch there
> is a `Form#discadingErrors` method:
https://github.com/playframework/Play20/blob/c012847b1d0b719c9eef1a07...
> Regards