/**
  * Construct the Inputfield, setting defaults for all properties
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->children = new InputfieldsArray();
     $this->set('skipLabel', Inputfield::skipLabelFor);
     $this->requiredLabel = $this->_('Missing required value');
     $columnWidthSpacing = $this->wire('config')->inputfieldColumnWidthSpacing;
     $columnWidthSpacing = is_null($columnWidthSpacing) ? 1 : (int) $columnWidthSpacing;
     $this->set('columnWidthSpacing', $columnWidthSpacing);
     $this->set('useDependencies', true);
     // whether or not to use consider field dependencies during processing
     // allow optional override of any above settings with a $config->InputfieldWrapper array.
     $settings = $this->wire('config')->InputfieldWrapper;
     if (is_array($settings)) {
         foreach ($settings as $key => $value) {
             $this->set($key, $value);
         }
     }
     $this->set('renderValueMode', false);
 }
 /**
  * Construct the Inputfield, setting defaults for all properties
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->children = new InputfieldsArray();
     $this->set('skipLabel', true);
 }
 /**
  * Construct the Inputfield, setting defaults for all properties
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->children = new InputfieldsArray();
     $this->set('skipLabel', Inputfield::skipLabelFor);
     $this->requiredLabel = $this->_('Missing required value');
     $this->set('renderValueMode', false);
     $columnWidthSpacing = $this->wire('config')->inputfieldColumnWidthSpacing;
     $columnWidthSpacing = is_null($columnWidthSpacing) ? 1 : (int) $columnWidthSpacing;
     $this->set('columnWidthSpacing', $columnWidthSpacing);
     //$this->set('useDependencies', true); // whether or not to use consider field dependencies during processing
 }