My form is not theming

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

06 Apr 2019, 09:58


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">
            <div class="p-grid form-group">
                <div class="p-col-12 p-md-12">
                    <input type="text" pInputText placeholder="Email" required autofocus>
                <div class="p-col-12 p-md-12">
                    <input pPassword type="password" placeholder="Password" required />
                <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>
But I end with no theming of the forms elements:

What could I have missed?

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
  • Who is online

    Users browsing this forum: No registered users and 1 guest