BaseChangeEvent
Sent when the customer changes the input. A field nobody has typed in is
empty, not invalid, so you need not show “required” before the customer
starts. error is the one message to show.
export interface BaseChangeEventProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
complete | boolean | True once every field is filled in and valid. |
elementType | ElementType | The element that sent the event. |
empty | boolean | True while nothing has been entered. |
error? | PesepayError | The one message to show, if the input is invalid. |