How to programatically disable options in ui-select angularjs -


i have 2 ui-select in view. want disable values in second ui-select respect first. means when change values first, of values in second related selected item in first, disabled.

if database-driven, there field relates data able dynamically check values (e.g., types > subtypes)? if so, can use ng-if="" selectively load select items.

you need sort of relationship between values able programmatically (dynamically) perform task. otherwise, you'd have manually it.


Comments

Popular posts from this blog

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

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -