# Field Settings

Starting with Simple Grids & Tables 1.7 you can manage each Simple Grid column's settings directly in the ExpressionEngine control panel when creating your Simple Grid field. A dropdown menu is available where you can add edit the settings with YAML.

Why YAML? Considering the settings for each field type is a fairly basic key > value pair, YAML makes it very straight forward to manage the settings without adding a complex user interface.

<figure><picture><source srcset="https://3476660910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ly1eNBG1JvS5rivVtg3%2Fuploads%2FtoggHisCVrrqpPWP2oQ7%2Fsg-full-settings-example-dark.png?alt=media&#x26;token=9a51c4e9-7497-49dd-b250-03b67f19678b" media="(prefers-color-scheme: dark)"><img src="https://3476660910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ly1eNBG1JvS5rivVtg3%2Fuploads%2FjH6TJ4L2dmuMDaazkJM5%2Fsg-full-settings-example-light.png?alt=media&#x26;token=b8c151b9-3a6a-49ba-a3cc-eac81527024b" alt=""></picture><figcaption></figcaption></figure>

### Supported settings

Below is a list of field types and their default options that are supported by Simple Grid. Other available options values are noted next to the option after the # code comment. If you only need to set a single option on a field, you do not have to include all options. For example, if you just need to  change the text direction of a Text field, just add `field_text_direction: 'rtl'` to your settings field.

#### Color Picker

```yaml
allowed_colors: 'any' # or 'swatches'
colorpicker_default_color: ''
value_swatches:
  - '#B52E2E|red'
  - '#30599E|blue'
  - '#16A224|green'

# value_swatches do not have to have a label, the following is also valid:
value_swatches:
  - '#B52E2E'
  - '#30599E'
  - '#16A224'
```

#### Date and DateTime Fields

*No config override options available*

#### File Field

```yaml
allowed_directories: '' # [int] (ID of upload directory)
field_content_type: 'all' # 'image'
num_existing: 0 # [int]
show_existing: 'y' # or 'n'
```

#### Textarea

```yaml
field_ta_rows: 6 # [int]
field_show_formatting_btns: 'n' # or 'y'
field_text_direction: 'ltr' # or 'rtl' 
field_show_smileys: 'n'
field_show_fmt: 'n'
field_fmt: 'none' # or 'xhtml'
```

#### RTE Field (EE7+ only)

```yaml
defer: false
toolset_id: null // Will use the default toolset if not defined
```

#### Text

```yaml
field_content_type: 'all' # numeric, integer, or decimal
field_show_file_selector: 'n' # or 'y'
field_text_direction: 'ltr' # or 'rtl'
field_maxl: 256 # [int]
field_show_fmt: 'n' # or 'y'
field_fmt: 'n' #or 'y'
```

#### Toggle

```yaml
field_default_value: 0 # or 1
```

#### URL

<pre class="language-yaml"><code class="lang-yaml">url_scheme_placeholder: 'https://'
allowed_url_schemes:
<strong>  'http://': 'http://'
</strong>  'https://': 'https://'
  '//': '// (Protocol Relative URL)'
  'ftp://': 'ftp://'
  'mailto:': 'mailto:'
  'sftp://': 'sftp://'
  'ssh://': 'ssh://'
</code></pre>
