# bit-form/3.3.1/assets/bf-475-241.js

Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator &amp; Custom Form Builder, version 3.3.1. 2 lines.

- Page: https://pluginprobe.com/plugins/bit-form/3.3.1/code/assets/bf-475-241.js
- Raw: https://pluginprobe.com/plugins/bit-form/3.3.1/raw/assets/bf-475-241.js
- Modified: 2026-09-16T12:36:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bit-form/3.3.1/code/assets/bf-475-241.js#L10-L20`.

```javascript
import{g as O,i as b,a as h,j as y,_ as F,f as $,bI as x,b1 as C}from"./main-762.js";import{F as a}from"./bf-850-326.js";import{S as _}from"./bf-111-180.js";import"./bf-685-46.js";function K({className:d=""}){var l,n,o;const{fieldKey:s}=O(),[t,r]=b(C),{css:f}=h();if(!s)return null;const e=t[s],g=(n=(l=e==null?void 0:e.config)==null?void 0:l.closeOnSelect)!=null?n:!1,m=(o=e==null?void 0:e.adminLbl)!=null?o:"",u=S=>{const{checked:i}=S.target,c=$(t,p=>{p[s].config.closeOnSelect=i});r(c),x({event:`Close On Select ${i?"On":"Off"}: ${e.lbl||m||s}`,type:"closeOnSelect_change",state:{fields:c,fldKey:s}})};return y.jsx(_,{id:"cls-on-slct-stng",className:`${f(a.fieldSection,a.singleOption)} ${d}`,title:F("Close On Select:"),action:u,isChecked:g,isPro:!0,tip:"By disabling this option, the field close on select will be hidden"})}export{K as default};

```
