0

i am unable to find how to disable or can make a input field read only for angular js this is leading into entering any other value which the drop down does not have.

Earlier i have tried with disable property but it is disabling the complete field. Neither input field is enable nor the drop down.

1

1 Answer 1

1

Use ng-disabled and pass the condition to it . ng-disabled="flag" If the flag is true then the input box will be disabled.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.