canSaveProfile() {
    const form = this.refs.form.getValue()

    this.setState({isSaveBtnDisabled: form && form.errors && form.errors.length})
  }
/**
   * Validates and updates save button enabled state.
   *
   * @return {void}
   */
Validates and updates save button enabled state.
@return {void}
Validates and updates save button enabled state . @return { void }
canSaveProfile() {
    const form = this.refs.form.getValue()
    this.setState({isSaveBtnDisabled: form && form.errors && form.errors.length})
  }
canSaveProfile ( ) { const form = this . refs . form . getValue ( ) this . setState ( { isSaveBtnDisabled : form && form . errors && form . errors . length } ) }
Validates and updates save button enabled state.
Validates and updates save button enabled state .