@nova-ui/bits
Version:
SolarWinds Nova Framework
13 lines (12 loc) • 561 B
TypeScript
/**
* An abstract class (you can call it interface) which allows formField component to access inner components.
* If there is some element that implements NuiFormFieldControl provided inside, the form field will be able
* to control isInErrorState of that control.
* Textbox, combobox, select, timepicker and datepicker are using this.
*/
export declare abstract class NuiFormFieldControl {
/** Whether the control is in an error state. */
isInErrorState: boolean;
/** Aria label to set on the tab-focusable item. */
ariaLabel?: string;
}