Replace attr with prop for disabled elements