Skip to content

Commit

Permalink
Fix for initial issue when initial values are not 100% correct when u…
Browse files Browse the repository at this point in the history
…sing dependencies. Registering the editor before setting the initial values allows for better communication between editors when using dependencies
  • Loading branch information
gbisurgi committed Jul 3, 2023
1 parent fbc4d76 commit 687b063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ export class AbstractEditor {
postBuild () {
this.setupWatchListeners()
this.addLinks()
this.register()
this.setValue(this.getDefault(), true)
this.updateHeaderText()
this.register()
this.onWatchedFieldChange()
}

Expand Down

0 comments on commit 687b063

Please sign in to comment.