Skip to content

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 BaseChangeEvent
NameTypeDescription
completebooleanTrue once every field is filled in and valid.
elementTypeElementTypeThe element that sent the event.
emptybooleanTrue while nothing has been entered.
error?PesepayErrorThe one message to show, if the input is invalid.