sxoinas12 5 years ago
parent
commit
25cd6562da
3 changed files with 2 additions and 2 deletions
  1. 0 0
      dist/lib/systems/CoreSystem.js
  2. 0 0
      dist/modules/Form.js
  3. 2 2
      modules/Form.js

File diff suppressed because it is too large
+ 0 - 0
dist/lib/systems/CoreSystem.js


File diff suppressed because it is too large
+ 0 - 0
dist/modules/Form.js


+ 2 - 2
modules/Form.js

@@ -36,7 +36,7 @@ export default class FormComp extends Module {
 		} = this.props
 		
 		//Init
-		if(!inputs) inputs = Inp;
+		
 		if(!inputsMargin) inputsMargin = 7
 
 
@@ -94,7 +94,7 @@ FormComp.Inputs = {
 		placeholder:"password"
 		},
 	],*/
-	inputs:new Types.Object().require(),
+	inputs:new Types.Object().require().default(Inp),
 	ButtonText:new Types.Text().require().default('Submit'),
 	ButtonColor: new Types.Text().require().color().default('rgba(3, 218, 198, 1)'),
 	backgroundColor: new Types.Text().require().color().default('rgba(0, 140, 186, 1)'),

Some files were not shown because too many files changed in this diff