Filter by title
There is a newer version of this document!

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 is a part of the ThemeSharedModule module. If you've imported that module into your module, there's no need to import it again. If not, then first import it as shown below:

import { ThemeSharedModule } from "@abp/ng.theme.shared";
import { FormInputDemoComponent } from "./FomrInputDemoComponent.component";

@NgModule({
  imports: [
   ThemeSharedModule,
   // ...
  ],
  declarations: [FormInputDemoComponent],
})
export class MyFeatureModule {}

Then, the abp-form-input component can be used. 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: July 31, 2024 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
Low-Code, High Precision
13 Aug, 17:00
Online
Watch the Event
ABP Live Webinar
Webinar Calendar Webinar Calendar
Discover
ABP Platform
Register Now
Oct 01
Thursday,
17: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.