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

Overlay: Not able to bind button texT and font awesome icons #150

Closed
anikets43 opened this issue Mar 29, 2016 · 3 comments
Closed

Overlay: Not able to bind button texT and font awesome icons #150

anikets43 opened this issue Mar 29, 2016 · 3 comments

Comments

@anikets43
Copy link

Hi,

I need a form inside OverlayPanel content. Here's my template:

<p-overlayPanel #op1>
    <div class="input-group">
        <input type="search" class="form-control" placeholder="Search..." />
        <span class="input-group-btn">
            <button class="btn btn-secondary" type="button">
                <span class="fa fa-search">S</span>
            </button>
        </span>
    </div>
    <div class="input-group">
        <label><input type="checkbox">&nbsp;PlayList 1</label>
        <label><input type="checkbox">&nbsp;PlayList 2</label>
    </div>
    <div class="input-group">
        <input type="search" class="form-control">
        <span class="input-group-btn">
            <button class="btn btn-secondary" type="button" value="New" (click)="addNew()">
            </button>
        </span>
    </div>
</p-overlayPanel>
```xml
![error](https://cloud.githubusercontent.com/assets/7136799/14107208/4a1af6a2-f5d4-11e5-9d6a-ed9f20b13b2d.PNG)

Thanks in advance,
Aniket
@cagataycivici
Copy link
Member

What is the issue? I couldn't understand.

Have you included font awesome?

@anikets43
Copy link
Author

Thanks @cagataycivici

When i replaced button tag with anchor tag, it worked.

<div class="input-group"> <input type="search" class="form-control" placeholder="Search..." /> <span class="input-group-btn"> <a class="btn btn-secondary"><span class="fa fa-search"></span></a> </span> </div>

@cagataycivici
Copy link
Member

Glad to hear.

atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
Popup dialogs in the Admin UI are yellow, but not blue. primefaces#150
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