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

Field #42

Open
3 tasks
jacojoubert opened this issue Jun 15, 2016 · 2 comments
Open
3 tasks

Field #42

jacojoubert opened this issue Jun 15, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@jacojoubert
Copy link
Contributor

jacojoubert commented Jun 15, 2016

Current State

image

  • Currently a field yields an input component based on the type property you pass in. You can override this by passing in a component to the input property. This works for the case where a field has a single input, but not when there are two or more inputs for a field.
  • The field is suppose to validate the data for the input and show an error message. While the inputs (input, textarea, checkbox) support error states, field does not yet currently support any validation. This should probably be done via a new component.
    image

Action Items

@ebryn ebryn modified the milestone: 2016-06-27 Jun 16, 2016
@jacojoubert
Copy link
Contributor Author

jacojoubert commented Jun 23, 2016

Blocked on this until we know our layout story better and have figured out validation.

@ebryn ebryn modified the milestones: 2016-06-27, 2016-07-04 Jun 24, 2016
@ebryn
Copy link
Member

ebryn commented Jun 29, 2016

Multi-field strategy idea:

{{#ui-fieldset as |fs|}}
  {{#fs.label}}...{{/fs.label}}
  {{fs.input}}
  {{fs.input}}
  {{fs.input}}
{{/ui-fieldset}}

@ebryn ebryn removed the blocked label Jun 29, 2016
@ebryn ebryn modified the milestones: 2016-07-11, 2016-07-04 Jul 6, 2016
@ebryn ebryn added the ready label Jul 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants