Fix: resetting validationError on update.
This commit is contained in:
@ -71,6 +71,17 @@ export class ChannelEmojisElement 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 emojis form.
|
||||
* @param ev event
|
||||
|
Reference in New Issue
Block a user