You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this still supported? I am trying to dynamically set the URL using amp-bind based on form input values but the AMP validator gives the error message: The relative URL '{{myState.url}}' for attribute 'href' in tag 'a' is disallowed.
Templates in AMP4EMAIL are more constrained. You can have a dynamic href but the entire attribute value must be replaced:
<amp-list...><template...><ahref="https://example.com/{{id}}"></a><!-- not supported --><ahref="{{url}}"></a><!-- supported --></template></amp-list>
Is this still supported? I am trying to dynamically set the URL using amp-bind based on form input values but the AMP validator gives the error message: The relative URL '{{myState.url}}' for attribute 'href' in tag 'a' is disallowed.
Templates in AMP4EMAIL are more constrained. You can have a dynamic
href
but the entire attribute value must be replaced:Hope that helps!
Originally posted by @dreamofabear in #19741 (comment)
The text was updated successfully, but these errors were encountered: