The following field can be used to view differences between two inputs.
CodeDifference::make(__("Differences"), function() {
return ["past" => $this->past, "next" => $this->next];
})->onlyOnDetail()
- Vue Code Diff (vue-code-diff on npm)
Thanks!
This code is public and open-source using MIT License.