Fix: resetting validationError on update.
This commit is contained in:
@ -61,6 +61,17 @@ export class ChannelConfigurationElement extends LivechatElement {
|
||||
this.requestUpdate()
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the validation errors.
|
||||
* @param ev the vent
|
||||
*/
|
||||
public resetValidation (_ev?: Event): void {
|
||||
if (this.validationError) {
|
||||
this.validationError = undefined
|
||||
this.requestUpdate('_validationError')
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the channel configuration.
|
||||
* @param event event
|
||||
|
Reference in New Issue
Block a user