Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.08 KB

File metadata and controls

50 lines (32 loc) · 1.08 KB
id Text input
section components
cssPrefix pf-c-form-control
propComponents
TextInput

Examples

Basic

Disabled

Truncated on Left

Read only

Invalid

Select text using ref

Icon variants

Icon sprite variants

Note: The icons for the success, invalid, calendar, etc. variations in form control elements are applied as background images to the form element. By default, the image URLs for these icons are data URIs. However, there may be cases where data URIs are not ideal, such as in an application with a content security policy that disallows data URIs for security reasons. The isIconSprite variation changes the icon source to an external SVG file that serves as a sprite for all of the supported icons.