{"action":"opened","issue":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/135","labels_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/135/comments","events_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/135/events","html_url":"https://github.com/gcanti/tcomb-form/issues/135","id":77388123,"number":135,"title":"Select multiple not working","user":{"login":"LukasUrban","id":1357199,"avatar_url":"https://avatars.githubusercontent.com/u/1357199?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasUrban","html_url":"https://github.com/LukasUrban","followers_url":"https://api.github.com/users/LukasUrban/followers","following_url":"https://api.github.com/users/LukasUrban/following{/other_user}","gists_url":"https://api.github.com/users/LukasUrban/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasUrban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasUrban/subscriptions","organizations_url":"https://api.github.com/users/LukasUrban/orgs","repos_url":"https://api.github.com/users/LukasUrban/repos","events_url":"https://api.github.com/users/LukasUrban/events{/privacy}","received_events_url":"https://api.github.com/users/LukasUrban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-17T20:22:25Z","updated_at":"2015-05-17T20:22:25Z","closed_at":null,"body":"I can't get ``` <select multiple> ``` running. It renders as normal select.\r\n\r\n```javascript\r\nvar React = require('react');\r\nvar Router = require('react-router');\r\n\r\nvar DefaultRoute = Router.DefaultRoute;\r\nvar Link = Router.Link;\r\nvar Route = Router.Route;\r\nvar RouteHandler = Router.RouteHandler;\r\n\r\nvar t = require('tcomb-form');\r\nvar Form = t.form.Form;\r\n\r\n\r\nvar Person = t.struct({\r\n  name: t.maybe(t.Str),\r\n  surname: t.maybe(t.Str),\r\n  type: t.enums.of('Director Individual Course'),\r\n  email: t.Str,\r\n  organization: t.maybe(t.Str),\r\n  phone: t.Num,\r\n  street: t.maybe(t.Str),\r\n  city: t.maybe(t.Str),\r\n  zip: t.maybe(t.Str)\r\n});\r\n\r\nvar formLayout = function(locals){\r\n  return (\r\n    <div>\r\n    <div className=\"row\">\r\n      <div className=\"col-md-4\">\r\n        <div className=\"row\">\r\n        <div className=\"col-md-6\">{locals.inputs.name}</div>\r\n        <div className=\"col-md-6\">{locals.inputs.surname}</div>\r\n      </div>\r\n      <div>{locals.inputs.organization}</div>\r\n      <div className=\"row\">\r\n        <div className=\"col-md-6\">{locals.inputs.email}</div>\r\n        <div className=\"col-md-6\">{locals.inputs.phone}</div>\r\n      </div>\r\n      <div>{locals.inputs.city}</div>\r\n      <div className=\"row\">\r\n        <div className=\"col-md-8\">{locals.inputs.street}</div>\r\n        <div className=\"col-md-4\">{locals.inputs.zip}</div>\r\n      </div>\r\n      </div>\r\n      <div className=\"col-md-8\">\r\n        <div>{locals.inputs.type}</div>\r\n      </div>\r\n    </div>\r\n    </div>\r\n  );\r\n};\r\n\r\nvar options = {\r\n  template: formLayout,\r\n  fields:{\r\n    type:{\r\n      factory: t.form.select\r\n    }\r\n  }  \r\n};\r\n\r\nvar ClientForm = React.createClass({\r\n  save: function() {\r\n    var value = this.refs.form.getValue();    \r\n    if (value) {\r\n      console.log(value);\r\n    }\r\n  },\r\n\r\n  render: function() {\r\n    var client = this.props.client || {};\r\n    return (  \r\n    <div>   \r\n        <Form\r\n          ref=\"form\"\r\n          type={Person}\r\n          options={options}\r\n          value={client}\r\n        />\r\n        <button onClick={this.save} className=\"btn btn-primary\">Save</button>\r\n        <button onClick={this.goBack} className=\"btn btn-default\">Cancel</button>\r\n        </div>\r\n    );\r\n  }\r\n\r\n});\r\n\r\n\r\nmodule.exports = ClientForm\r\n```"}}