Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Widget #59

Closed
smhigley opened this issue Mar 8, 2017 · 2 comments
Closed

Select Widget #59

smhigley opened this issue Mar 8, 2017 · 2 comments
Assignees
Milestone

Comments

@smhigley
Copy link
Contributor

smhigley commented Mar 8, 2017

Enhancement
Related to #5

Features:

  • Includes styles for disabled/readonly, required, valid, and invalid states
  • accepts callback functions for:
    • onBlur
    • onChange
    • onClick
    • onFocus
    • onKeyDown
    • onKeyPress
    • onKeyUp
    • onMouseDown
    • onMouseUp
    • onTouchStart
    • onTouchEnd
    • onTouchCancel
  • Options are added in an object with format { [key: string]: value: string }
  • value is controlled by the parent component (example included)
@smhigley smhigley mentioned this issue Mar 8, 2017
3 tasks
@smhigley smhigley self-assigned this Mar 14, 2017
@smhigley
Copy link
Contributor Author

Updating the issue to reflect conversations about customization vs. mobile experience:

  • Select will default to a custom element that supports single- and multiple- select
  • The custom select will allow users to pass a function that returns a DNode to customize individual options
  • There will be a useNativeSelect property that renders a wrapped native select widget without the ability to customize individual options

@dylans dylans added this to the 2017.03 milestone Mar 22, 2017
@rishson rishson added the beta2 label Mar 29, 2017
@dylans dylans modified the milestones: 2017.03, 2017.04 Apr 2, 2017
@smhigley
Copy link
Contributor Author

Resolved with PR #94

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

No branches or pull requests

3 participants