lib/assets/javascripts/tao/form/shared/fields/checkbox.coffee in tao_form-0.1.8 vs lib/assets/javascripts/tao/form/shared/fields/checkbox.coffee in tao_form-0.1.9

- old
+ new

@@ -4,9 +4,15 @@ @include Tao.Form.Mixins.Checkable @tag 'tao-check-box' + @get 'indeterminate', -> + @field?.prop 'indeterminate' + + @set 'indeterminate', (value) -> + @field?.prop 'indeterminate', value + _connected: -> @field = @jq.find('input:checkbox') @_bind() _bind: ->