Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@syncfusion/ej2-vue-dropdowns": "^17.3.27",
"core-js": "^3.3.2",
"vue": "^2.6.10"
"@syncfusion/ej2-vue-dropdowns": "^27.2.2",
"core-js": "^3.35.0",
"vue": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",
"@vue/cli-plugin-eslint": "^4.0.0",
"@vue/cli-service": "^4.0.0",
"babel-eslint": "^10.0.3",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"vue-template-compiler": "^2.6.10"
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@babel/eslint-parser": "^7.23.3",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.19.2"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
"parser": "@babel/eslint-parser",
"requireConfigFile": false
}
},
"postcss": {
Expand Down
16 changes: 9 additions & 7 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
</template>

<script>
import Vue from "vue";
import { ComboBoxPlugin} from '@syncfusion/ej2-vue-dropdowns';
import { ComboBoxComponent} from '@syncfusion/ej2-vue-dropdowns';
import { Query } from "@syncfusion/ej2-data";
Vue.use(ComboBoxPlugin);

export default Vue.extend({
data: function() {
export default {
name: 'App',
components: {
'ejs-combobox': ComboBoxComponent
},
data() {
return {
enableCombobox: false,
childDataQuery: null,
Expand All @@ -41,12 +43,12 @@ export default Vue.extend({
};
},
methods: {
onCountryChange: function(args) {
onCountryChange(args) {
this.enableCombobox = true;
this.childDataQuery = new Query().where('CountryId', 'equal', args.value);
}
}
});
};
</script>


Expand Down
8 changes: 2 additions & 6 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')