src/FormBlueprint.php
public function setFieldOption($field, $option, $value)
    {
        if (!isset($this->fields[$field])) {
            throw new \Exception("Cannot set field option: Field {$field} not found");
        }

        $this->fields[$field]['options'][$option] = $value;
    }
public function setFieldOption($field, $option, $value)
    {
        if (!isset($this->fields[$field])) {
            throw new \Exception("Cannot set field option: Field {$field} not found");
        }

        $this->fields[$field]['options'][$option] = $value;
    }
public function setFieldOption ( $ field , $ option , $ value ) { if ( ! isset ( $ this -> fields [ $ field ] ) ) { throw new \ Exception ( "Cannot set field option: Field {$field} not found" ) ; } $ this -> fields [ $ field ] [ 'options' ] [ $ option ] = $ value ; }
Override a field option

@param $field
@param $option
@param $value
@return void
@throws \Exception
Override a field option