final case classAjaxResponse(message: Option[String], html: Option[String], invalidForm: Option[String]) extends Product with Serializable
A response to an asynchronous request made by Progressive.
A response to an asynchronous request made by Progressive.
message
A message to announce to users of assistive technology.
html
An HTML fragment to render in the target element.
invalidForm
If this response is a response to an invalid form submission, invalidForm contains
the form after validation has been applied server-side (including adding error messages,
styling inputs as invalid, setting aria-invalid=true, etc).
A response to an asynchronous request made by Progressive.
A message to announce to users of assistive technology.
An HTML fragment to render in the target element.
If this response is a response to an invalid form submission,
invalidForm
contains the form after validation has been applied server-side (including adding error messages, styling inputs as invalid, setting aria-invalid=true, etc).