Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Serge 5 posts 95 karma points
    Jan 22, 2020 @ 10:57
    Serge
    0

    Umb-box header binding.

    I am trying to pass parameter to

     <umb-box-header title="Users" description="User Name {{vm.UserName}}">
    

    Umb-box header. But it always resolves as empty string.

    Anyone know how to do it ?

  • Michel Collard 44 posts 264 karma points c-trib
    Aug 06, 2020 @ 09:47
    Michel Collard
    0

    The BoxHeaderDirective is done loading before your controller is finished with setting the value for vm.UserName.

    Try adding a loading variable to your controller and view:

    <umb-box-header  ng-if="!vm.loading"  title="Users" description="User Name {{vm.UserName}}">
    

    The element will be rendered when the ng-if is resolved as true.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies