From 5150cc77d451e432c2d1ed3b52d68e1a2389bad8 Mon Sep 17 00:00:00 2001 From: Birzhan Moldabayev <36256417+bizhuka@users.noreply.github.com> Date: Fri, 20 Oct 2023 22:57:40 +0600 Subject: [PATCH] Update step-7-delete-12a0d1e.md delete button do not work properly without it usernameEmpty : false in 6th step is usernameEmpty : true in 7th step is usernameEmpty : false https://sapui5.hana.ondemand.com/#/entity/sap.ui.core.tutorial.odatav4/sample/sap.ui.core.tutorial.odatav4.06 https://sapui5.hana.ondemand.com/#/entity/sap.ui.core.tutorial.odatav4/sample/sap.ui.core.tutorial.odatav4.07/code --- docs/03_Get-Started/step-7-delete-12a0d1e.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/03_Get-Started/step-7-delete-12a0d1e.md b/docs/03_Get-Started/step-7-delete-12a0d1e.md index 5f47042a..0aaf7ad5 100644 --- a/docs/03_Get-Started/step-7-delete-12a0d1e.md +++ b/docs/03_Get-Started/step-7-delete-12a0d1e.md @@ -34,6 +34,14 @@ You can view and download all files at [OData V4 - Step 7](https://ui5.sap.com/# ... onInit: function () { ... + + oViewModel = new JSONModel({ + busy : false, + hasUIChanges : false, + usernameEmpty : false, + order : 0 + }); + ... }, onCreate : function () { var oList = this.byId("peopleList"),