Skip to content

Commit

Permalink
changed numeric rule in frontend validation (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
matejminar authored Jun 28, 2018
1 parent c50868f commit 8cb39e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generate/Traits/Columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function getVisibleColumns($tableName, $modelVariableName) {
case 'integer':
$serverStoreRules->push('\'integer\'');
$serverUpdateRules->push('\'integer\'');
$frontendRules->push('numeric');
$frontendRules->push('integer');
break;
case 'boolean':
$serverStoreRules->push('\'boolean\'');
Expand Down

0 comments on commit 8cb39e6

Please sign in to comment.