react-crud-mobile 1.3.293 → 1.3.295

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.
@@ -814,6 +814,7 @@ function UIInput(props) {
814
814
  var decode = {
815
815
  textarea: {
816
816
  multiline: true,
817
+ autoHeight: element.autoHeight !== false,
817
818
  textAlignVertical: 'top',
818
819
  numberOfLines: 5,
819
820
  style: {
@@ -823,7 +824,7 @@ function UIInput(props) {
823
824
  };
824
825
  var defs = _extends({}, reactCrudUtils.Utils.nvl(decode[type], {}), element.inputProps);
825
826
  var inputStyle = _extends({}, style('input', scope.getStyle(type)));
826
- if (element.autoHeight) {
827
+ if (defs.autoHeight) {
827
828
  defs.onContentSizeChange = function (event) {
828
829
  setHeight(event.nativeEvent.contentSize.height);
829
830
  };
@@ -864,6 +865,7 @@ var styles$6 = /*#__PURE__*/reactNative.StyleSheet.create({
864
865
  marginHorizontal: 0,
865
866
  marginVertical: 0,
866
867
  height: 40,
868
+ width: '100%',
867
869
  flex: 1
868
870
  }
869
871
  });