Conditional ng-disabled in AngularJS 1.0.7 -


is possible like:

ng-disabled="x >= y" in case y == undefined take z (another value) inside ng-disabled expression in angularjs 1.0.7?

you can use code, surely work

ng-disabled="x >= ( y == undefined ? z : y )" 

Comments

Popular posts from this blog

iis - ASP.Net Core CreatedAtAction in HttpPost action returns 201 but entire request ends with 500 -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -