My form is not theming

UI Components for Angular
Post Reply
Nargzul
Posts: 23
Joined: 21 Apr 2017, 14:30

06 Apr 2019, 09:58

Hi,

I just installed the babylon for my angular app.

I got the global template, removed the "demo" component. But now I'm trying to create my first page, based on what I can find in the forms example:

Code: Select all

<div class="p-grid ui-fluid">
    <div class="p-col-12 p-lg-4">
        <div class="card card-w-title">
            <h1>Login</h1>
            <div class="p-grid form-group">
                <div class="p-col-12 p-md-12">
                    <input type="text" pInputText placeholder="Email" required autofocus>
                </div>
                <div class="p-col-12 p-md-12">
                    <input pPassword type="password" placeholder="Password" required />
                </div>
                <div class="p-col-12 p-md-4" style="text-align:center">
                    <button pButton type="button" label="Primary" style="margin-bottom:10px" class="ui-button-raised"></button>
                </div>
            </div>
        </div>
    </div>
</div>
But I end with no theming of the forms elements:
Image.

What could I have missed?

avulanitin
Posts: 5
Joined: 16 Jul 2019, 22:10

26 Jul 2019, 21:17

Did you import ButtonModule into your module/ application?

Post Reply

Return to “PrimeNG”

  • Information