 
     {formatCharacters} = @props
     {timePattern, timeValue} = @state
-
     <TutorInput
       {...maskedProps}
       onChange={@onChange}
       validate={@validate}
+      hasValue={!!timeValue}
       ref="timeInput">
       <MaskedInput
         value={timeValue}

    validate: React.PropTypes.func
    onUpdated: React.PropTypes.func
    autofocus: React.PropTypes.bool

  getDefaultProps: ->
    validate: (inputValue) ->


  render: ->
    {children} = @props

    classes = classnames 'form-control', @props.class,
      empty: not (@props.hasValue or @props.default or @props.defaultValue or @props.value)

    wrapperClasses = classnames 'form-control-wrapper', 'tutor-input', @props.className,
      'is-required': @props.required
