zeus-form-mui 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  var material_1 = require("@mui/material");
18
18
  var react_1 = __importDefault(require("react"));
19
19
  exports.default = (function (props) {
20
- console.log(props.f.name, props.formObject);
21
20
  return (react_1.default.createElement(material_1.TextField, { value: props.formObject.__form__value || '', placeholder: props.f.name.replace(/([A-Z])/g, ' $1').replace(/^./, function (str) {
22
21
  return str.toUpperCase();
23
22
  }), onChange: function (e) {
@@ -1 +1 @@
1
- {"version":3,"file":"UniversalField.js","sourceRoot":"","sources":["../../src/components/UniversalField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAA0C;AAE1C,gDAA0B;AAC1B,mBAAe,UAAC,KAAsB;IAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5C,OAAO,CACH,8BAAC,oBAAS,IACN,KAAK,EAAG,KAAK,CAAC,UAAU,CAAC,aAAoC,IAAI,EAAE,EACnE,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG;YAC5E,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC;QAC7B,CAAC,CAAC,EACF,QAAQ,EAAE,UAAC,CAAC;YACR,KAAK,CAAC,QAAQ,uBACP,KAAK,CAAC,UAAU,KACnB,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,IAC/B,CAAC;QACP,CAAC,GACH,CACL,CAAC;AACN,CAAC,EAAC"}
1
+ {"version":3,"file":"UniversalField.js","sourceRoot":"","sources":["../../src/components/UniversalField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAA0C;AAE1C,gDAA0B;AAC1B,mBAAe,UAAC,KAAsB;IAClC,OAAO,CACH,8BAAC,oBAAS,IACN,KAAK,EAAG,KAAK,CAAC,UAAU,CAAC,aAAoC,IAAI,EAAE,EACnE,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG;YAC5E,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC;QAC7B,CAAC,CAAC,EACF,QAAQ,EAAE,UAAC,CAAC;YACR,KAAK,CAAC,QAAQ,uBACP,KAAK,CAAC,UAAU,KACnB,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,IAC/B,CAAC;QACP,CAAC,GACH,CACL,CAAC;AACN,CAAC,EAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zeus-form-mui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Easy form creation with GraphQL Editor and React",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -2,7 +2,6 @@ import { TextField } from '@mui/material';
2
2
  import { PassedFormProps } from 'zeus-form';
3
3
  import React from 'react';
4
4
  export default (props: PassedFormProps) => {
5
- console.log(props.f.name, props.formObject);
6
5
  return (
7
6
  <TextField
8
7
  value={(props.formObject.__form__value as string | undefined) || ''}