Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Watch the allowClear attribute for changes #747

Merged
merged 7 commits into from
Mar 17, 2015

Conversation

rwlogel
Copy link
Contributor

@rwlogel rwlogel commented Mar 11, 2015

Currently allowClear is only evaluated during the linking phase. If you want to be able to control this dynamically it needs to be watched for changes.

@dimirc
Copy link
Contributor

dimirc commented Mar 11, 2015

Can you create a for test for this?

@rwlogel
Copy link
Contributor Author

rwlogel commented Mar 11, 2015

There doesn't appear to be any existing unit tests for the allow-clear attribute so I'm not sure where I should put one. Do you have any suggestions? Could you suggest another unit test that would be a good example to start from.

@rwlogel
Copy link
Contributor Author

rwlogel commented Mar 13, 2015

Created unit tests.

@rwlogel
Copy link
Contributor Author

rwlogel commented Mar 13, 2015

Where did the changes to common.css come from? They seem to be from another pull request?

@cmlenz
Copy link
Contributor

cmlenz commented Mar 13, 2015

@rwlogel Not sure how that got in here, but that change is from #745

See also commit list at the top of this PR:

screen shot 2015-03-13 at 10 14 52

dimirc added a commit that referenced this pull request Mar 17, 2015
Watch the allowClear attribute for changes
@dimirc dimirc merged commit ad5fcea into angular-ui:master Mar 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants