Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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 ?
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umb-box header binding.
I am trying to pass parameter to
Umb-box header. But it always resolves as empty string.
Anyone know how to do it ?
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:
The element will be rendered when the ng-if is resolved as true.
is working on a reply...