src/Forms/FormAction.php
public function getSchemaDataDefaults()
    {
        $defaults = parent::getSchemaDataDefaults();
        $defaults['attributes']['type'] = $this->getUseButtonTag() ? 'button' : 'submit';
        $defaults['data']['icon'] = $this->getIcon();
        return $defaults;
    }
public function getSchemaDataDefaults()
    {
        $defaults = parent::getSchemaDataDefaults();
        $defaults['attributes']['type'] = $this->getUseButtonTag() ? 'button' : 'submit';
        $defaults['data']['icon'] = $this->getIcon();
        return $defaults;
    }
public function getSchemaDataDefaults ( ) { $ defaults = parent :: getSchemaDataDefaults ( ) ; $ defaults [ 'attributes' ] [ 'type' ] = $ this -> getUseButtonTag ( ) ? 'button' : 'submit' ; $ defaults [ 'data' ] [ 'icon' ] = $ this -> getIcon ( ) ; return $ defaults ; }
Add extra options to data
Add extra options to data