add change events#62
Conversation
|
I have been testing the code with And |
|
I tried to write tests, but have problems with running them: |
| '[class.is-upgraded]': 'true', | ||
| '[class.is-checked]': 'value' | ||
| }, | ||
| outputs: ['change'], |
There was a problem hiding this comment.
i think you can delete this line safely. it is inherited from the checkbox component. the same way as inputs: ['value'], works
There was a problem hiding this comment.
Without it, change is not emited.
There was a problem hiding this comment.
ok let it in there i'll take a look after the merge.
There was a problem hiding this comment.
Seems like I get duplicate events - one from the mdl-checkbox which delivers true or false and another from the input element itself emitting a full $event object.
Maybe consider to rename the change event name to something different?
|
Hi thanks for your work! can you edit the radio component like i suggest in comment and rebase your branch so i can merge the pull request automatically? I'll add the tests. Don't know whats going wrong there. Thx! |
8514a8e to
cedf9b4
Compare
|
published in pm v 1.5.1 Thanks @tb 👍 |
No description provided.