Skip to content
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

Merged
merged 10 commits into from
Oct 26, 2016
Merged

Conversation

jelbourn
Copy link
Member

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.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 21, 2016
hansl
hansl previously requested changes Sep 21, 2016
@@ -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';
Copy link
Contributor

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.

@jelbourn
Copy link
Member Author

Yeah, I planned on waiting for your PR

@jelbourn
Copy link
Member Author

@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;
Copy link
Member

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? :)

@jelbourn
Copy link
Member Author

@kara rebased and ready for review

@jelbourn jelbourn assigned kara and unassigned hansl Oct 25, 2016
@jelbourn jelbourn dismissed hansl’s stale review October 26, 2016 00:07

Comments resolved

Copy link
Contributor

@andrewseguin andrewseguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Oct 26, 2016
@jelbourn jelbourn merged commit c63b9f4 into angular:master Oct 26, 2016
@jelbourn jelbourn deleted the bool-property branch September 13, 2017 04:34
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants