Mandatory forbidden type input field makes it dirty and invalid

I have a conditional html form and I conditionally disabled input type fields via ng-disabled and in the submit button used ng-disabled = "formName. $ Invalid" ..... but disabled required fields make it messy and invalid. So how do I approach validation with a conditional form?

+3


source to share





All Articles