react-form-builder-more-flexibility 1.0.22 → 1.0.23

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.
@@ -154,7 +154,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
154
154
  placeholder: placeholder || this.state.placeholder,
155
155
  value: this.state.value,
156
156
  className: "form-control"
157
- }), iOS && !readOnly && /*#__PURE__*/_react["default"].createElement("div", {
157
+ }), !readOnly && /*#__PURE__*/_react["default"].createElement("div", {
158
158
  className: "input-group",
159
159
  style: {
160
160
  border: '1px solid #ced4da',
@@ -239,22 +239,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
239
239
  // onChange={this.handleChange}
240
240
  // value={this.state.value}
241
241
  // className = "form-control" />
242
- , !iOS && !readOnly && /*#__PURE__*/_react["default"].createElement(_reactDatepicker["default"], {
243
- name: props.name,
244
- ref: props.ref,
245
- onChange: this.handleChange,
246
- selected: this.state.internalValue,
247
- todayButton: 'Today',
248
- className: "form-control",
249
- isClearable: true,
250
- showTimeSelect: showTimeSelect,
251
- showTimeSelectOnly: showTimeSelectOnly,
252
- showTimeInput: showTimeInput,
253
- dateFormat: this.state.formatMask,
254
- portalId: "root-portal",
255
- autoComplete: "off",
256
- placeholderText: placeholder || placeholderText
257
- }))));
242
+ )));
258
243
  }
259
244
  }], [{
260
245
  key: "updateDateTime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-form-builder-more-flexibility",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "A complete form builder for react.",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",