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

Set drop/select readonly on some scope condition #789

Closed
Mistrall opened this issue Jun 4, 2015 · 3 comments
Closed

Set drop/select readonly on some scope condition #789

Mistrall opened this issue Jun 4, 2015 · 3 comments

Comments

@Mistrall
Copy link

Mistrall commented Jun 4, 2015

Hey Danial!

Is it possible to set ngf-drop, ngf-select disabled on some scope conditions?
Like this

<div ng-init="enableSelect=false">
       <div ngf-drop ngf-select="enableSelect" ng-model="model" ></div>
</div>

I need this drop areas to be readonly on some point

danialfarid pushed a commit that referenced this issue Jun 4, 2015
@danialfarid
Copy link
Owner

Added feature in version 5.0.0, as you suggested here.

@Mistrall
Copy link
Author

Mistrall commented Jun 5, 2015

Great!
Thanks for following up on this.

@danialfarid
Copy link
Owner

This feature now move to ngf-select-disabled and ngf-drop-disabled directives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants