Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Add errorschanged event trigger in showErrors / clearErrors#580

Open
zyzof wants to merge 1 commit into
1000hz:masterfrom
zyzof:errorschanged-event
Open

Add errorschanged event trigger in showErrors / clearErrors#580
zyzof wants to merge 1 commit into
1000hz:masterfrom
zyzof:errorschanged-event

Conversation

@zyzof

@zyzof zyzof commented Aug 15, 2017

Copy link
Copy Markdown

The existing events are triggered before the error content is added to the DOM if the "add error" operation is deferred.

This change provides a way to detect once the error information has been added.

In my case, this allowed me to display error information outside of the form-group, by hiding the .help-block.with-errors within the form-group and keeping its contents synced with an external element.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant