Skip to content

Changed event type for select fields to support firefox - #16

Closed
LostKobrakai wants to merge 1 commit into
remy:masterfrom
LostKobrakai:LostKobrakai-patch-1
Closed

LostKobrakai wants to merge 1 commit into
remy:masterfrom
LostKobrakai:LostKobrakai-patch-1

Conversation

@LostKobrakai

Copy link
Copy Markdown

Per mdn the input event should only be fired on input and textarea elements.

Per [mdn](https://developer.mozilla.org/en-US/docs/Web/Events/input) the input event should only be fired on input and textarea elements.
@remy

remy commented Dec 14, 2015

Copy link
Copy Markdown
Owner

Sorry, I missed this PR...

Can you add a test for it, but also, why is the event name select-one (I've not seen this before in the specs...)

@remy

remy commented Feb 1, 2016

Copy link
Copy Markdown
Owner

Are you able to add a test for this?

@LostKobrakai

Copy link
Copy Markdown
Author

I'm not sure if I can. I've never worked with karma before. I just fixed it as it wasn't working in ff. Also here's a definition: https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/type

@kantholy

Copy link
Copy Markdown

it's working just fine by the way 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants