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
@@ -779,7 +779,7 @@ function UIInput(props) {
|
|
779
779
|
var placeholder = scope.getPart('placeholder', null, label);
|
780
780
|
var el = scope.original;
|
781
781
|
var element = scope.original;
|
782
|
-
var _useState = React.useState(
|
782
|
+
var _useState = React.useState(80),
|
783
783
|
height = _useState[0],
|
784
784
|
setHeight = _useState[1];
|
785
785
|
var _useState2 = React.useState(initial),
|
@@ -818,11 +818,11 @@ function UIInput(props) {
|
|
818
818
|
textAlignVertical: 'top',
|
819
819
|
numberOfLines: 5,
|
820
820
|
style: {
|
821
|
-
height: Math.max(
|
821
|
+
height: Math.max(80, height)
|
822
822
|
}
|
823
823
|
}
|
824
824
|
};
|
825
|
-
//
|
825
|
+
//v4
|
826
826
|
var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), element.inputProps);
|
827
827
|
var inputStyle = _extends({}, style('input'), style(type));
|
828
828
|
if (defs.autoHeight) {
|
@@ -874,6 +874,7 @@ var styles$6 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
874
874
|
marginVertical: 0,
|
875
875
|
width: '100%',
|
876
876
|
height: 'auto',
|
877
|
+
alignSelf: 'stretch',
|
877
878
|
flex: 1
|
878
879
|
}
|
879
880
|
});
|