Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Submit button with ng-if #42

@cmolina

Description

@cmolina

I have a form like this

<form ng-submit="yourServiceCaller()"
      promise-btn>
  <button type="submit" ng-if="maybe">MyBtn</button>
</form>

By debugging, I found that getSubmitBtnChildren does not find buttons with the ng-if directive.

A workaround is to use ng-show instead. Is there any way to wait until all those ng-if are already resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions