Fixes on PasswordForm
This commit is contained in:
parent
528d5a2d48
commit
7dbe80697e
7 changed files with 76 additions and 18 deletions
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
namespace PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaModels\Forms\BaseForm;
|
||||
use PhangoApp\PhaModels\Forms\PasswordForm;
|
||||
use PhangoApp\PhaUtils\Utils;
|
||||
|
||||
class PasswordField extends CharField {
|
||||
|
|
@ -72,7 +72,7 @@ class PasswordField extends CharField {
|
|||
public function create_form()
|
||||
{
|
||||
|
||||
$form=new BaseForm($this->name_component, $this->value);
|
||||
$form=new PasswordForm($this->name_component, $this->value);
|
||||
$form->default_value=$this->default_value;
|
||||
$form->required=$this->required;
|
||||
$form->label=$this->label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue