disabled method

Option disabled([
  1. bool d = true
])

Implementation

Option disabled([bool d = true]) {
  if (d) attr('disabled', BooleanAttribute(true));
  return this;
}