> For the complete documentation index, see [llms.txt](https://pratikdai404.gitbook.io/adminetic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pratikdai404.gitbook.io/adminetic/modules/settings.md).

# Settings

Adminetic setting module provides full dynamic setting value feature. Setting can be created, edited and delete on demand

### Setting Components

* String&#x20;
* Checkbox
* Image
* Number
* Multiple&#x20;
* Tags
* Text
* Rich Text
* Select
* Switch

{% hint style="info" %}
Leave setting customization empty if you want default configuration to be applied
{% endhint %}

### String Setting

![String Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHcm_AQM-q1c4sOzap%2Fimage.png?alt=media\&token=8dbb49ee-e0df-4bff-9a08-ac9ff92d805d)

Can be used to hold string value (255)

#### Customization

```
{
    "class": "string_class",
    "id": "string_id",
    "value": "Adminetic",
    "placeholder": "Site Title Here!!"
}
```

* class: class of input\[type='text'] input filed
* id: id of input\[type='text'] input filed
* value: default value of input\[type='text'] input filed
* placeholder: placeholder text of input\[type='text'] input filed

### Integer Setting

![Integer Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHdnjMeCT4k4v6xxx2%2Fimage.png?alt=media\&token=857b34f1-b6ee-4b94-9397-508c8df0ef59)

Can be used to holder integer value

```
{
    "class": "my_class",
    "id": "my_id",
    "value": 1,
    "placeholder": "Integer Field",
    "max": 10,
    "min": 0
}
```

* class: class of input\[type='number'] input filed
* id: id of input\[type='number'] input filed
* value: default value of input\[type='number'] input filed
* placeholder: placeholder text of input\[type='number'] input filed
* max: max value
* min: min value

### Text and Rich Text Setting

![Text Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHeITHOA4JmHWzr-S4%2Fimage.png?alt=media\&token=154fde1d-dd89-4b17-bcfd-a74bad19e5ed)

Can be used to hold text value

```
{
    "class": "my_class",
    "id": "my_id",
    "value": "Enter some text"
}
```

* class: textarea class
* id: textarea id
* value: textarea default value

### Switch Setting

![Switch Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHepb2DilAoYN0KqB5%2Fimage.png?alt=media\&token=703484c2-2e14-4744-999e-b0c1362027de)

Can be used to hold boolean value

```
{
    "class": "my_class",
    "id": "my_id",
    "placeholder": "I am switch !"
}
```

* class: class of switch
* id: id of switch
* placeholder: placeholder of switch if not provided name of setting is used

### Checkbox Setting

![Checkbox Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHfEWLsGaJ2LMl4wEs%2Fimage.png?alt=media\&token=0344c955-e655-41b0-b2a8-56bd48e52150)

Can be used to holder integer value

```
{
    "class": "my_class",
    "id": "my_id",
    "checked": "1",
    "options": {
        "1": "Option 1",
        "2": "Option 2"
    }
}
```

* class: class of checkbox
* id: id of checkbox
* checked: default checked option
* options: checkbox option(contains json of available option where index is value and value is name of the option)

### Select Setting

![Select Option](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHfvEUxPnr3K5X39Dz%2Fimage.png?alt=media\&token=6bab9911-d110-4bcc-b8ed-038dcc0b1e22)

Can be used to hold integer value.

```
{
    "class": "my_class",
    "id": "my_id",
    "default": "1",
    "options": {
        "1": "option 1",
        "2": "option 2"
    }
}
```

* class: class of select
* id: id of select
* default: Default selected value
* Options: Select options where index is select value and value is select value display name

### Multiple Setting

![Multiple Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHgTKgEsrHwF_ewOOm%2Fimage.png?alt=media\&token=fb4caba5-305f-42a1-90ed-1e6af4fff2f7)

Can be used to hold json value

```
{
    "class": "my_class",
    "id": "my_id",
    "options": {
        "1": "option 1",
        "2": "option 2"
    }
}
```

* class: class of multiple select
* id: id of multiple select
* Options: Select options where index is select value and value is select value display name

### Tag Setting

![Tag Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHgvqAQ9Dj_GAOYmjs%2Fimage.png?alt=media\&token=bd9cbfae-75ce-46b4-bc6b-28bd132deabb)

Can be used to hold json value

```
{
    "class": "my_class",
    "id": "my_id"
}
```

* class: class applied to select tag input
* id: id applied to select tag input

### Image Setting

![Image Setting](https://3590348543-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbCZnEbkx6hMOJRn5tS%2F-MbHKNoC5UlR-l08Pnjb%2F-MbHhJiMUhRRpRgSJenH%2Fimage.png?alt=media\&token=498e7e99-7f6f-4e9a-b6d1-688ca51f49c5)

Can be used to hold image path

```
{
    "class": "my_class",
    "id": "my_id",
    "fit": {
        "width": "300",
        "height": "300"
    },
    "quality": "80"
}
```

* class: class of img filed
* id: id of img filed
* fit:: consist width and height of image
* quality: Quality of image in percentage
