Skip to content

Boolean data type should render checkbox #106

@thenickcox

Description

@thenickcox

So, this project is really awesome coming to Ember from Rails. Just wanted to get that out there.

I ran this command:
ember generate --scaffold todo title:string complete:boolean

This correctly got the data type in the model (complete: DS.attr('boolean')), but a boolean should render a checkbox in the view. Instead, it was a text field, like so:

  <p>
    <label for="complete">Complete</label><br>
    {{view Ember.TextField valueBinding="complete" id="complete"}}
  </p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions