if data-mage-init validation not working on checkout page or any other page then instead of using data-mage-init use following code on that element:
Instead of this:
<form data-mage-init='{"validation":{}}'>
Use this code:
<form data-bind="mageInit: {'validation': {}}">
it will definitely work.
Comments
Post a Comment