@innoways/drip-form-theme-antd 8.0.1 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fixed select field issues 8.0.3
8
+ - Updated dependencies
9
+ - @innoways/hooks@8.0.3
10
+ - @innoways/utils@8.0.3
11
+
12
+ ## 8.0.2
13
+
14
+ ### Patch Changes
15
+
16
+ - feature: input box view mode fix 8.0.2
17
+ - Updated dependencies
18
+ - @innoways/hooks@8.0.2
19
+ - @innoways/utils@8.0.2
20
+
3
21
  ## 8.0.1
4
22
 
5
23
  ### Patch Changes
package/dist/index.js CHANGED
@@ -771,7 +771,7 @@ var TextField = function TextField(_ref) {
771
771
  type = _ref.type,
772
772
  restProps = _objectWithoutProperties(_ref, _excluded$l);
773
773
 
774
- if (formMode === 'view') return fieldData || null;
774
+ if (formMode === 'view') return fieldData !== undefined ? fieldData : null;
775
775
 
776
776
  var _useState = useState(autoSize),
777
777
  _useState2 = _slicedToArray(_useState, 2),
@@ -20738,7 +20738,10 @@ var SelectField$1 = function SelectField(props) {
20738
20738
  disabled: disabled,
20739
20739
  value: value,
20740
20740
  onChange: handleChange,
20741
- options: options
20741
+ options: options,
20742
+ getPopupContainer: function getPopupContainer(trigger) {
20743
+ return trigger.parentNode;
20744
+ }
20742
20745
  }, restProps));
20743
20746
  };
20744
20747
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innoways/drip-form-theme-antd",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "author": "JDFED",
5
5
  "description": "drip-form antd主题包",
6
6
  "main": "dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "@ant-design/icons": "^4.7.0",
33
33
  "@babel/runtime": "^7.10.2",
34
- "@innoways/hooks": "^8.0.1",
35
- "@innoways/utils": "^8.0.1",
34
+ "@innoways/hooks": "^8.0.3",
35
+ "@innoways/utils": "^8.0.3",
36
36
  "antd": "^4.16.13",
37
37
  "flatpickr": "^4.6.13",
38
38
  "moment": "^2.26.0",