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

[opPosition] works incorrectly with form inside modal #7

Closed
pr0menade opened this issue Feb 14, 2018 · 3 comments
Closed

[opPosition] works incorrectly with form inside modal #7

pr0menade opened this issue Feb 14, 2018 · 3 comments
Assignees

Comments

@pr0menade
Copy link

No description provided.

@greg7859 greg7859 self-assigned this Feb 15, 2018
@greg7859
Copy link
Contributor

Hello pr0menade,

I tried to reproduce the problem, but it works for me. I added some code in the example to help you to integrate the icon picker in the modal dialog.

Hope this will help you.

@greg7859
Copy link
Contributor

Argh, I forgot to check the opPosition...

@greg7859
Copy link
Contributor

After checking, it works too.

Be careful, it 's [ipPosition] and not [opPosition]

Try with this code :
<input type="text" name="iconCss" class="form-control" formControlName="iconCss" [iconPicker]="icon" [ipPosition]="'top'" [ipWidth]="'250px'" [ipPlaceHolder]="'Choose an icon'" [ipFallbackIcon]="fallbackIcon" (iconPickerSelect)="onIconPickerSelect($event)" />

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