PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V3.3.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV3.3.2
V3.3.2 3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 All 139 releases
bit-form / assets / bf-610-242.js

bf-610-242.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V3.3.2, at assets/bf-610-242.js

2 lines 964 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as C,i as x,a as y,j as F,_ as O,f as $,bI as _,b1 as j}from"./main-96.js";import{F as h}from"./bf-460-326.js";import{S as T}from"./bf-687-180.js";import"./bf-781-46.js";function L({className:d=""}){var o,i,l,n,c;const{fieldKey:s}=C(),[t,r]=x(j),{css:f}=y();if(!s)return null;const e=t[s],u=(i=(o=e==null?void 0:e.config)==null?void 0:o.multipleSelect)!=null?i:!1,m=(n=(l=e==null?void 0:e.config)==null?void 0:l.showChip)!=null?n:!1,g=(c=e==null?void 0:e.adminLbl)!=null?c:"";if(!u)return null;const S=w=>{const{checked:a}=w.target,p=$(t,b=>{b[s].config.showChip=a});r(p),_({event:`Show Chip ${a?"On":"Off"}: ${e.lbl||g||s}`,type:"showChip_change",state:{fields:p,fldKey:s}})};return F.jsx(T,{id:"show-chip",className:`${f(h.fieldSection,h.singleOption)} ${d}`,title:O("Show Selected Option Chip:"),action:S,isChecked:m,tip:"Show selected options as chip (clearable). If disabled, count of selected options will be shown as text."})}export{L as default};
2