react-crud-mobile 1.3.298 → 1.3.300
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/dist/react-crud-mobile.cjs.development.js +4 -3
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIInput.tsx +4 -3
@@ -770,7 +770,7 @@ function UIInput(props) {
|
|
770
770
|
var placeholder = scope.getPart('placeholder', null, label);
|
771
771
|
var el = scope.original;
|
772
772
|
var element = scope.original;
|
773
|
-
var _useState = useState(
|
773
|
+
var _useState = useState(80),
|
774
774
|
height = _useState[0],
|
775
775
|
setHeight = _useState[1];
|
776
776
|
var _useState2 = useState(initial),
|
@@ -809,11 +809,11 @@ function UIInput(props) {
|
|
809
809
|
textAlignVertical: 'top',
|
810
810
|
numberOfLines: 5,
|
811
811
|
style: {
|
812
|
-
height: Math.max(
|
812
|
+
height: Math.max(80, height)
|
813
813
|
}
|
814
814
|
}
|
815
815
|
};
|
816
|
-
//
|
816
|
+
//v4
|
817
817
|
var defs = _extends({}, Utils.nvl(decode[type], {}), element.inputProps);
|
818
818
|
var inputStyle = _extends({}, style('input'), style(type));
|
819
819
|
if (defs.autoHeight) {
|
@@ -865,6 +865,7 @@ var styles$6 = /*#__PURE__*/StyleSheet.create({
|
|
865
865
|
marginVertical: 0,
|
866
866
|
width: '100%',
|
867
867
|
height: 'auto',
|
868
|
+
alignSelf: 'stretch',
|
868
869
|
flex: 1
|
869
870
|
}
|
870
871
|
});
|