Skip to content

Commit 5c98024

Browse files
Merge pull request #3 from GokulSaravanan26/patch-1
Documentation (1021684): Improved ReadMe file content.
2 parents 7d41ff8 + 9cdadca commit 5c98024

1 file changed

Lines changed: 32 additions & 19 deletions

File tree

README.md

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,48 @@
1-
# Create a Cascading ComboBox Using Vue ComboBox
1+
# Cascading ComboBox Using Vue ComboBox
22

3-
Get a quick overview on how to create a Cascading ComboBox using Vue ComboBox of Syncfusion. You will learn how to add a series of Syncfusion Vue ComboBox to the Vue application. Also, you will see how to populate the data source of second ComboBox based on the value selected from the first ComboBox.
4-
5-
Example:https://ej2.syncfusion.com/vue/demos/#/material/combo-box/cascading.html
3+
**Repository Description:** A Vue.js project demonstrating cascading ComboBox components using Syncfusion, where dependent ComboBoxes populate based on parent selections.
64

7-
Documentation:https://ej2.syncfusion.com/vue/documentation/combo-box/how-to/cascading
5+
## Overview
86

7+
Learn how to create a cascading ComboBox using Syncfusion Vue ComboBox. This project shows how to add multiple ComboBox components and populate dependent ComboBoxes based on parent selections—ideal for country-state scenarios and similar dependent dropdowns.
98

10-
## Project pre-requisites
11-
Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project.
9+
## Prerequisites
1210

13-
## How to run this application?
14-
To run this application, you need to first clone the `create-a-cascading-combo-box-using-vue-combo-box` repository and then navigate to its appropriate path where it has been located in your system.
11+
- Node.js (v12 or higher)
12+
- Vue CLI (v4 or higher)
13+
- npm (v6 or higher)
1514

16-
To do so, open the command prompt and run the below commands one after the other.
15+
## Installation
1716

18-
```
17+
Clone the repository:
18+
```bash
1919
git clone https://github.com/SyncfusionExamples/create-a-cascading-combo-box-using-vue-combo-box combobox-component
2020
cd combobox-component
21+
npm install
2122
```
2223

23-
## Installing
24-
Once done with downloading, next you need to install the necessary packages required to run this application locally. The `npm install` command will install all the needed Vue packages into your current project and to do so, run the below command.
24+
## Running the Application
2525

26+
Start the development server:
27+
```bash
28+
npm run serve
2629
```
27-
npm install
28-
```
2930

30-
## Running on development server
31-
Run `npm run serve` command for a dev server. Navigate to `http://localhost:8080/`. The app will automatically reload if you change any of the source files.
31+
Navigate to `http://localhost:8080/`. The app reloads on file changes.
32+
33+
## How It Works
34+
35+
1. First ComboBox selection triggers an event
36+
2. Selected value filters/fetches data for the second ComboBox
37+
3. Second ComboBox updates its data source dynamically
38+
4. Extend this pattern to multiple cascading levels
39+
40+
## Resources
41+
42+
- **Demo**: [Cascading ComboBox Example](https://ej2.syncfusion.com/vue/demos/#/material/combo-box/cascading.html)
43+
- **Docs**: [Cascading Guide](https://ej2.syncfusion.com/vue/documentation/combo-box/how-to/cascading)
44+
- **Vue CLI**: [Vue-Cli README](https://github.com/vuejs/vue-cli/blob/master/README.md)
3245

33-
## Further help
46+
## Support
3447

35-
To get more help on the vue CLI use go check out the [Vue-Cli README](https://github.com/vuejs/vue-cli/blob/master/README.md).
48+
For help, check the Syncfusion Vue ComboBox documentation and Vue.js resources.

0 commit comments

Comments
 (0)