浏览代码

fix(dial-out): appease FieldText warning for onChange prop

j8
Leonard Kim 8 年前
父节点
当前提交
9c6afc2062
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      react/features/dial-out/components/DialOutNumbersForm.web.js

+ 2
- 0
react/features/dial-out/components/DialOutNumbersForm.web.js 查看文件

1
 import { StatelessDropdownMenu } from '@atlaskit/dropdown-menu';
1
 import { StatelessDropdownMenu } from '@atlaskit/dropdown-menu';
2
 import AKFieldText, { FieldText } from '@atlaskit/field-text';
2
 import AKFieldText, { FieldText } from '@atlaskit/field-text';
3
 import ExpandIcon from '@atlaskit/icon/glyph/expand';
3
 import ExpandIcon from '@atlaskit/icon/glyph/expand';
4
+import { noop as _onNoop } from 'lodash';
4
 import React, { Component } from 'react';
5
 import React, { Component } from 'react';
5
 import { connect } from 'react-redux';
6
 import { connect } from 'react-redux';
6
 
7
 
208
                     isLabelHidden = { true }
209
                     isLabelHidden = { true }
209
                     isReadOnly = { true }
210
                     isReadOnly = { true }
210
                     label = 'dial-out-code'
211
                     label = 'dial-out-code'
212
+                    onChange = { _onNoop }
211
                     type = 'text'
213
                     type = 'text'
212
                     value = { dialCode || '' } />
214
                     value = { dialCode || '' } />
213
                 <span className = 'dropdown-trigger-icon'>
215
                 <span className = 'dropdown-trigger-icon'>

正在加载...
取消
保存