<?php
/**
 * input used in Admin/Config/Services/Basic/ServiceOffer
 */
namespace App\Form\Input;

class ActiveItems extends \Engine\Form\Input\ElementAbstract
{

	protected $class = "activeItems";

	/**
	* @param String $label
	* @param String $name
	* @param Mixed $value
	*/
	public function __construct($label=null, $name=null, $value=null){
		parent::__construct($label, $name, $value);

		$this->settings['minItems'] =1;
		// REMOVE AND DEFAULT
		$this->settings['operations'] = [];
		$this->settings['operations']['add'] = false;
		$this->settings['operations']['remove'] = false;
		$this->settings['operations']['default'] = false;
		$this->settings['operations']['move'] = true;
	}

}