> For the complete documentation index, see [llms.txt](https://options-docs-v2.avisplus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://options-docs-v2.avisplus.io/storefront-display/not-allow-deselect-option-value.md).

# Not allow deselect option value

When this feature is activated:

* Customers can switch between option values
* Customers **cannot deselect** the currently selected value
* One option value will always remain selected

This helps prevent accidental unselection and ensures required input is always provided.

## I. **Available options**

This feature works only with **single-selection** option types:

* Color swatch
* Image swatch
* Radio button
* Button

> ⚠️ This feature does **not** apply to multi-select options (e.g. checkboxes).

***

{% hint style="info" %}

### Demo :You can view a live demo here: 👉 <https://avis-demo.avisplus.io/products/not-allow-deselect>

{% endhint %}

***

## II. How to Activate

#### Step 1: Create an Option

* Create a new option or edit an existing one

{% hint style="info" %}
[**How to create an option set**](/building-options/step-2-create-option-sets.md)
{% endhint %}

<figure><img src="/files/Kq69l18CaGqzV69ekcXh" alt=""><figcaption></figcaption></figure>

Choose any option type listed in **I. Available options** to set up. In this example, we selected **Single selection - Button.**

<figure><img src="/files/bF7Kh9DHxkE0vq16bj6M" alt=""><figcaption></figcaption></figure>

#### Step 2: Enable “Not Allow Deselect”

* Navigate to **Advanced Settings**

<figure><img src="/files/5mreE3laZaWTn0ME4CTu" alt=""><figcaption></figcaption></figure>

* Check **Not allow deselect**

<figure><img src="/files/XjpMMuKePCYtM0icywHi" alt=""><figcaption></figcaption></figure>

#### Step 3: Save the Option

* Click **Save**
* The feature will be applied immediately to the product page

<figure><img src="/files/ZlHgW9wkyvcJfcHt8pqR" alt=""><figcaption></figcaption></figure>

***

If you have questions or need help setting this up, feel free to reach out to our support team.
