Optional
checkedWhether text field is in error state.
Optional
errorError hint text
Shown if error
, replaces hintText
.
Optional
hintHint text shown below text field.
if error
, then errorText
is shown instead.
Returns the value of element's id content attribute. Can be set to change it.
Static
stylesProtected
renderInvoked on each update to perform rendering tasks. This method may return
any value renderable by lit-html's ChildPart
- typically a
TemplateResult
. Setting properties inside this method will not trigger
the element to update.
Protected
firstInvoked when the element is first updated. Implement to perform one time work on the element after update.
firstUpdated() {
this.renderRoot.getElementById('my-text-area').focus();
}
Setting properties inside this method will trigger the element to update again after this update cycle completes.
ZetaStepperInput web component. A stepper input, also called numeric stepper, is a common UI element that allows users to input a number or value simply by clicking the plus and minus buttons.
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=21529-9963
Storybook
https://zeta-ds.web.app/web/storybook/?path=/docs/stepper-input--docs