Movatterモバイル変換


[0]ホーム

URL:


CoreUI Angular Logo
Framework:
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page

Angular Form Control Components

Angular input and textarea components. Give textual form controls like `input` and `textarea` an upgrade with custom styles, sizing, focus states, and more.

Example

Loading...
Loading...

Sizing

Set heights usingsize property likesizing="lg" andsizing="sm".

Loading...
Loading...
Loading...

Disabled

Add thedisabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

Loading...
Loading...
Loading...

Readonly

Add thereadonly boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.

Loading...
Loading...

Readonly plain text

If you want to haveinput readonly elements in your form styled as plain text, use theplaintext boolean property to remove the default form field styling and preserve the correct margin and padding.

Loading...
Loading...
Loading...
Loading...

File input

Loading...
Loading...

Color

#26ab3c
Loading...
Loading...
Loading...

API reference

Form Module


cFormControl

directive

Works withinput andtextarea html tags.

Inputs
namedescriptiontypedefault
plaintextRender the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use alongsidereadonly.booleanundefined
sizingSize the label small or large.sm |lgundefined
typeSpecifies the html type of input element.InputType exceptcheckbox andradiotext
validSets input validation state to valid.booleanundefined

cLabel

directive

Inputs
namedescriptiontypedefault
cLabelFor horizontal forms set labels tocol and make them vertically centered with their associated form controls.colundefined
sizingSize the label small or large.sm |lgundefined

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.5.17 Code licensed MIT, docs CC BY 3.0 .
CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp