Skip to content
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

render addons in text fields #364

Closed
ritacionfoli opened this issue Oct 8, 2021 · 2 comments
Closed

render addons in text fields #364

ritacionfoli opened this issue Oct 8, 2021 · 2 comments

Comments

@ritacionfoli
Copy link

Hi, I'd like to know if is possible to append/prepend an addon to a text input like this

addon

@unclead
Copy link
Owner

unclead commented Oct 17, 2021

@ritacionfoli It turned out the widget aleady provides such a feature, but it wasn't documented 😞
I added it to the docs and here it is

inputTemplate string the template of input for customize view. Defailt is {input}.

Example

<div class="input-group"><span class="input-group-addon"><i class="fas fa-mobile-alt"></i></span>{input}</div>

documentation

@unclead unclead closed this as completed Oct 17, 2021
@ritacionfoli
Copy link
Author

thanx!

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

No branches or pull requests

2 participants