react-crud-mobile 1.3.289 → 1.3.290
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/elements/UI.d.ts +1 -0
- package/dist/react-crud-mobile.cjs.development.js +8 -2
- 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 +8 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UI.tsx +1 -0
- package/src/elements/core/UIInput.tsx +5 -2
@@ -801,10 +801,11 @@ function UIInput(props) {
|
|
801
801
|
var decode = {
|
802
802
|
textarea: {
|
803
803
|
multiline: true,
|
804
|
-
textAlignVertical: 'top'
|
804
|
+
textAlignVertical: 'top',
|
805
|
+
numberOfLines: 5
|
805
806
|
}
|
806
807
|
};
|
807
|
-
var defs = Utils.nvl(decode[type], {});
|
808
|
+
var defs = _extends({}, Utils.nvl(decode[type], {}), scope.original.inputProps);
|
808
809
|
return /*#__PURE__*/jsxs(Fragment, {
|
809
810
|
children: [/*#__PURE__*/jsxs(View, {
|
810
811
|
style: style('base'),
|
@@ -2573,6 +2574,11 @@ var UI = {
|
|
2573
2574
|
type: "text"
|
2574
2575
|
}));
|
2575
2576
|
},
|
2577
|
+
Textarea: function Textarea(props) {
|
2578
|
+
return /*#__PURE__*/jsx(UIElement, _extends({}, props, {
|
2579
|
+
type: "textarea"
|
2580
|
+
}));
|
2581
|
+
},
|
2576
2582
|
Email: function Email(props) {
|
2577
2583
|
return /*#__PURE__*/jsx(UIElement, _extends({}, props, {
|
2578
2584
|
type: "email"
|