Skip to content

Conversation

Bilal-Abdeen
Copy link

The code in the original file has 2 bugs(see below), which I fixed.
1.a the "state" statement has syntax issues
1.b. the statement with "this.MultiSelect" produces an error.

The new code demonstrates some advanced features(see below.)
2.a. Using multiple components on the same screen
2.b. For a component with single - selection, updating the dropdown's name/label (the selectText prop) dynamically to display the selected option
2.c. an example for the callback function for the "onAddItem" prop
2.d. Rich in comments

1. The code in the original file has 2 bugs (see below), which I fixed. 
  1.a the "state" statement has syntax issues 
  1.b. the statement with "this.MultiSelect" produces an error. 

2. The new code demonstrates some advanced features (see below.)
  2.a. Using multiple components on the same screen 
  2.b. For a component with single-selection, updating the dropdown's name/label (the selectText prop) dynamically to display the selected option 
  2.c. an example for the callback function for the "onAddItem" prop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant