disabled method

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

Implementation

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