Skip to content

Commit

Permalink
Fix - Vue form updateItems dynamically (#3104)
Browse files Browse the repository at this point in the history
* Fix - Vue form updateItemsDinamically

* use const instead of let
  • Loading branch information
ivanblinov2k17 authored Jan 12, 2024
1 parent 6900aa9 commit d24955f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JSDemos/Demos/Form/UpdateItemsDynamically/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ import service from './data.ts';
const employee = service.getEmployee();
const phoneOptions = ref(getPhonesOptions(employee.Phones));
let isHomeAddressVisible = true;
const isHomeAddressVisible = ref(true);
const checkBoxOptions = {
text: 'Show Address',
value: true,
onValueChanged: (e) => {
isHomeAddressVisible = e.component.option('value');
isHomeAddressVisible.value = e.component.option('value');
},
};
const addPhoneButtonOptions = {
Expand Down

0 comments on commit d24955f

Please sign in to comment.