create account

Select component docs updates by adasq

View this thread on: hive.blogpeakd.comecency.com
· @adasq ·
$11.23
Select component docs updates
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.

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@adasq/select-component-docs-updates">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , ,
properties (23)
authoradasq
permlinkselect-component-docs-updates
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":67874411,"name":"angular2-mdl-ext","full_name":"mseemann/angular2-mdl-ext","owner":{"login":"mseemann","id":555817,"avatar_url":"https://avatars2.githubusercontent.com/u/555817?v=4","gravatar_id":"","url":"https://api.github.com/users/mseemann","html_url":"https://github.com/mseemann","followers_url":"https://api.github.com/users/mseemann/followers","following_url":"https://api.github.com/users/mseemann/following{/other_user}","gists_url":"https://api.github.com/users/mseemann/gists{/gist_id}","starred_url":"https://api.github.com/users/mseemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseemann/subscriptions","organizations_url":"https://api.github.com/users/mseemann/orgs","repos_url":"https://api.github.com/users/mseemann/repos","events_url":"https://api.github.com/users/mseemann/events{/privacy}","received_events_url":"https://api.github.com/users/mseemann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mseemann/angular2-mdl-ext","description":"Additional components for angular2-mdl that are not part of material design lite (npm: @angular-mdl/*)","fork":false,"url":"https://api.github.com/repos/mseemann/angular2-mdl-ext","forks_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/forks","keys_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/teams","hooks_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/hooks","issue_events_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/issues/events{/number}","events_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/events","assignees_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/assignees{/user}","branches_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/branches{/branch}","tags_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/tags","blobs_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/git/refs{/sha}","trees_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/statuses/{sha}","languages_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/languages","stargazers_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/stargazers","contributors_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/contributors","subscribers_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/subscribers","subscription_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/subscription","commits_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/commits{/sha}","git_commits_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/git/commits{/sha}","comments_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/comments{/number}","issue_comment_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/issues/comments{/number}","contents_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/contents/{+path}","compare_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/merges","archive_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/downloads","issues_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/issues{/number}","pulls_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/pulls{/number}","milestones_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/milestones{/number}","notifications_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/labels{/name}","releases_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/releases{/id}","deployments_url":"https://api.github.com/repos/mseemann/angular2-mdl-ext/deployments","created_at":"2016-09-10T14:07:06Z","updated_at":"2017-11-13T03:12:44Z","pushed_at":"2017-11-18T10:25:33Z","git_url":"git://github.com/mseemann/angular2-mdl-ext.git","ssh_url":"git@github.com:mseemann/angular2-mdl-ext.git","clone_url":"https://github.com/mseemann/angular2-mdl-ext.git","svn_url":"https://github.com/mseemann/angular2-mdl-ext","homepage":"","size":6114,"stargazers_count":89,"watchers_count":89,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":36,"forks":45,"open_issues":36,"watchers":89,"default_branch":"master","score":127.63705},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","angular","mdl","typescript"]}"
created2017-11-18 22:08:39
last_update2017-11-18 22:08:39
depth0
children3
last_payout2017-11-25 22:08:39
cashout_time1969-12-31 23:59:59
total_payout_value7.948 HBD
curator_payout_value3.286 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length941
author_reputation17,083,257,821,007
root_title"Select component docs updates"
beneficiaries
0.
accountespoem
weight122
1.
accountfreedom
weight647
2.
accountjefpatat
weight54
3.
accountlafona-miner
weight13
4.
accountmisterdelegation
weight539
5.
accountned
weight534
6.
accountsteempty
weight11
7.
accountwackou
weight52
max_accepted_payout1,000,000.000 HBD
percent_hbd50
post_id20,818,260
net_rshares5,915,207,456,043
author_curate_reward""
vote details (20)
@knowledges ·
Thanks for your contribution. It has been approved.
<hr/>
You can contact us on <a href="https://discord.gg/4NYhZU6">Discord</a><br>
<a href="https://utopian.io/moderators">[utopian-moderator]</a>
properties (22)
authorknowledges
permlinkre-adasq-select-component-docs-updates-20171119t092344645z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-19 09:23:45
last_update2017-11-19 09:23:45
depth1
children0
last_payout2017-11-26 09:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length196
author_reputation98,021,227,622,369
root_title"Select component docs updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,858,182
net_rshares0
@steemitboard ·
Congratulations @adasq! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstpost.png)](http://steemitboard.com/@adasq) You published your First Post
[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/firstvoted.png)](http://steemitboard.com/@adasq) 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](https://steemit.com/@steemitboard)

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](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
👍  
properties (23)
authorsteemitboard
permlinksteemitboard-notify-adasq-20171119t005317000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2017-11-19 00:53:15
last_update2017-11-19 00:53:15
depth1
children0
last_payout2017-11-26 00:53:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length827
author_reputation38,975,615,169,260
root_title"Select component docs updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,827,752
net_rshares358,021,197
author_curate_reward""
vote details (1)
@utopian-io ·
### 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. <a href="https://steemit.com/~witnesses">Vote for my Witness. Lets GROW TOGETHER!</a>

[![Screen Shot 2017-11-19 at 16.54.19.png](https://steemitimages.com/DQmSAd4sBoscGQEDNAdq4CY4YAGM32FNCp5tP4ZB2JupbcN/Screen%20Shot%202017-11-19%20at%2016.54.19.png)](https://steemit.com/~witnesses)

**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**
properties (22)
authorutopian-io
permlinkre-adasq-select-component-docs-updates-20171119t235130473z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-19 23:51:30
last_update2017-11-19 23:51:30
depth1
children0
last_payout2017-11-26 23:51:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,104
author_reputation152,955,367,999,756
root_title"Select component docs updates"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id20,925,718
net_rshares0