Filter by title

Form Input Component

The ABP FormInput Component is a reusable form input component for the text type.

Inputs

  • label
  • labelClass (default form-label)
  • inputPlaceholder
  • inputReadonly
  • inputClass (default form-control)

Outputs

  • formBlur
  • formFocus

Usage

The ABP FormInput component (AbpFormInputComponent) is a standalone component. You can import it directly in your component:

import { Component } from "@angular/core";
import { AbpFormInputComponent } from "@abp/ng.theme.shared";

@Component({
  selector: 'app-form-input-demo',
  imports: [AbpFormInputComponent],
  templateUrl: './form-input-demo.component.html',
})
export class FormInputDemoComponent {}

Then, the abp-form-input component can be used in your template. See the example below:

<div class="row">
  <div class="col-4">
    <abp-form-input
	label="AbpAccount::UserNameOrEmailAddress"
	inputId="login-input-user-name-or-email-address"
     ></abp-form-input>
  </div>
</div>

See the form input result below:

abp-form-input

Contributors


Last updated: January 08, 2026 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

ABP Community Talks
RAG, MCP & OpenAI Endpoints in ABP — All you want to know about AI+ABP
26 Mar, 17:00
Online
Register Now
ABP Live Webinar
Webinar Calendar Webinar Calendar
Discover
ABP Platform
Register Now
Apr 01
Wednesday,
13:00 UTC
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.