Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readmd - Updates to the sample code #111

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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