-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove BooleanFieldValue #1290
Conversation
@@ -21,7 +21,8 @@ import { | |||
FormsModule, | |||
} from '@angular/forms'; | |||
import {Observable} from 'rxjs/Observable'; | |||
import {BooleanFieldValue, MdUniqueSelectionDispatcher} from '@angular2-material/core'; | |||
import {MdUniqueSelectionDispatcher} from '@angular2-material/core'; | |||
import {coerceBooleanProperty} from '../core/coersion/boolean-property'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either wait for my PR to be merged in (where you can use ../core
) or fix those imports to pass the linting.
Yeah, I planned on waiting for your PR |
2f73586
to
710890e
Compare
@hansl rebased |
@Input() name: string = null; | ||
@Input() id: string = this._uniqueId; | ||
@Input() tabIndex: number = 0; | ||
@Input() ariaLabel: string = null; | ||
@Input() ariaLabelledby: string = null; | ||
|
||
private _disabled: boolean = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this up to the other private variables? And also make the _hasFocus
private while you are at it? :)
a70e3e5
to
cd04410
Compare
@kara rebased and ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Based on top of #1289
This removes the custom decorator as it prevents tree-shaking of components that use it. Replaced with a
coerceBooleanProperty
function.