 class KDInputRadioGroup extends KDInputView
+
   constructor:(options)->
 
     options.type           or= 'radio'

    options.cssClassPrefix or= ''

    super options

  setDomElement:->
    options = @getOptions()


  setValue:(value, isDefault=no)->
    @$("input").attr "checked", no

    inputElement = @$("input[value='#{value}']")
    inputElement.attr "checked", "checked"
    inputElement.prop "checked", yes

    # Not sure about following ~ GG
    if value? and value isnt @_currentValue and not isDefault
      @emit "change", value

    @_currentValue = value

    @$(".kd-radio-holder").removeClass 'active'
    @$(".kd-radio-holder.#{value}").addClass 'active'  if value? and value isnt ""

