autoComplete method

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

A string providing a hint for a user agent's autocomplete feature. Read more...

Implementation

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