fix error after confirming mention relation name

This commit is contained in:
zadam 2020-09-01 23:43:09 +02:00
parent 32c88c7481
commit 5e75d2380a

View file

@ -351,7 +351,9 @@ export default class AttributeEditorWidget extends TabAwareWidget {
}
if (this.$errors.is(":visible")) {
this.$errors.slideUp();
// using .hide() instead of .slideUp() since this will also hide the error after confirming
// mention for relation name which suits up. When using.slideUp() error will appear and the slideUp which is weird
this.$errors.hide();
}
}