noValidate method

Form noValidate(
  1. bool boolean
)

This attribute specifies that the form is not to be validated when it is submitted. Read more...

Implementation

Form noValidate(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('novalidate', '');
    node.attrs!.add(attr);
  }
  return this;
}