mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 15:08:45 +02:00
N°7063 - Forms SDK - Add Symfony forms component
error forms issue
This commit is contained in:
@@ -56,6 +56,7 @@ trait FormFactoryBuilderTrait
|
||||
*/
|
||||
public function AddNumberField(string $sKey, array $aOptions, mixed $oData = null) : FormFactory
|
||||
{
|
||||
// $aOptions['property_path'] = $sKey;
|
||||
|
||||
$this->aFieldsDescriptions[$sKey] = new FormFieldDescription($sKey, FormFieldTypeEnumeration::NUMBER, $aOptions);
|
||||
$this->aFieldsData[$sKey] = $oData;
|
||||
@@ -104,7 +105,6 @@ trait FormFactoryBuilderTrait
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add duration field.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user