Skip to content

Conversation

@mbostock
Copy link
Member

Fixes #211.

Also, rather than assigning e.g. form.oninput = …, use form.addEventListener("input", …) so that clients don’t accidentally clobber internal listeners when they want to listen to events. (In other words, reserve the form.oninput = … shorthand for consumers of this API, rather than using it internally.) We still use the shorthand for internal elements, but I’m going to leave that as-is to minimize churn in this PR.

@mbostock mbostock requested a review from Fil February 21, 2022 19:36
@mbostock mbostock merged commit 89c81dc into main Apr 15, 2022
@mbostock mbostock deleted the mbostock/key branch April 15, 2022 16:33
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.

Inputs.select({keyof: <function>}) documentation doesn't match behavior: keyof doesn't affect text displayed in selection list

3 participants