patternfly-elements
patternfly-elements copied to clipboard
[NEW] pfe-textinput
pfe-textinput
A web component text input that wraps a standard <input type="text"> element and provides an option for a connected <label> element. The web component will deliver the scoped styles through the shadow root of the web component.
We will follow the implementation that's used in the current PatternFly React Text Input component. https://www.patternfly.org/v4/documentation/react/components/textinput
Interaction
The component should support four states
- Default
- Disabled
- Read only
- Invalid
We are good from the design side, we will be repurposing the same styles from PF.
This just needs a few updates and it could be merged: https://github.com/patternfly/patternfly-elements/pull/969