Select component docs updates

in #utopian-io8 years ago

Contribution link: https://github.com/mseemann/angular2-mdl-ext/pull/1073

Contribution problem description:

Current demo app for select component suggests, that multiple attribute might be assigned with true and false attribute, which is incorrect. Because both:

<mdl-select multiple="true"></mdl-select>

and

<mdl-select multiple="false"></mdl-select>

cases result is initializing component with multiple mode (attribute value false is a string, which is truthly), which can be tricky for new users.

We should use Angular Input Property approach style instead of attribute for multiple property. That's why multiple="true" has been changed for [multiple]="true", so then component property is a boolean value, instead of string.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Congratulations @adasq! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Thanks for your contribution. It has been approved.


You can contact us on Discord
[utopian-moderator]

Hey @adasq I am @utopian-io. I have just upvoted you at 4% Power!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I want to see you often!
  • Work on your followers to increase the votes/rewards. My vote is now primarily based on that, humans rule. Good luck!
  • Wondering why other contributions got more? I introduced a competition factor. My vote is also based on how competitive the category used is.

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Vote for my Witness. Lets GROW TOGETHER!

Screen Shot 2017-11-19 at 16.54.19.png

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x