Skip to content

Custom Display Templates #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jongunter opened this issue Jun 27, 2017 · 1 comment
Open

Custom Display Templates #73

jongunter opened this issue Jun 27, 2017 · 1 comment

Comments

@jongunter
Copy link

jongunter commented Jun 27, 2017

Hi there, great library! It'd be nice if I could add some custom formatting/HTML when the components are in display mode.

For example, next to the username, I would want to display a user icon, but not in editing mode.

<inline-editor type="text" [(ngModel)]="account.username">
   <i class="fa fa-user"></i>
   {{ account.userName }}
</inline-editor>
@tonivj5
Copy link
Collaborator

tonivj5 commented Jun 27, 2017

Hi! Thanks for your feedback, this feature is in our roadmap, but there are more important things to do yet.

If you would want to implement it, it was awesome 😄 There is a PR open #35 that implements something similar using ng-content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants