Set drop/select readonly on some scope condition #789

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

Projects

None yet

2 participants

@Mistrall
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 danialfarid pushed a commit that referenced this issue Jun 4, 2015
Danial Farid Fixed #783 #764 #777 #766 #763 #761 #721 #687 #650 #710 #784 #768 #789 39fa784
@danialfarid
Owner

Added feature in version 5.0.0, as you suggested here.

@Mistrall
Mistrall commented Jun 5, 2015

Great!
Thanks for following up on this.

@danialfarid
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