autoComplete method

Form autoComplete(
  1. String value, {
  2. bool? removeIf,
})

Indicates whether input elements can by default have their values automatically completed by the browser. Read more...

Implementation

Form autoComplete(String value, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('autocomplete', value);
    node.attrs!.add(attr);
  }
  return this;
}