Fixes on fields for new behaviour

This commit is contained in:
Antonio de la Rosa 2015-08-28 05:24:58 +02:00
parent 2a342ad9f9
commit 890704010b
21 changed files with 78 additions and 36 deletions

View file

@ -22,7 +22,7 @@ class IntegerField extends PhangoField {
{
$this->size=$size;
$this->form='PhangoApp\PhaModels\CoreForms::TextForm';
$this->form='PhangoApp\PhaModels\Forms\BaseForm';
$this->only_positive=$only_positive;
$this->min_num=$min_num;
$this->max_num=$max_num;