PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V_3.0.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV_3.0.0
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 2.10.1 All 138 releases
bit-form / assets / bf-359-305.js

bf-359-305.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V_3.0.0, at assets/bf-359-305.js

2 lines 965 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as b,i as x,aH as y,a as F,j as O,_ as $,f as _,bG as j}from"./main-294.js";import{F as h}from"./bf-821-385.js";import{S as T}from"./bf-764-245.js";import"./bf-176-80.js";function L({className:d=""}){var o,i,l,n,c;const{fieldKey:s}=b(),[t,r]=x(y),{css:f}=F();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,C=>{C[s].config.showChip=a});r(p),j({event:`Show Chip ${a?"On":"Off"}: ${e.lbl||g||s}`,type:"showChip_change",state:{fields:p,fldKey:s}})};return O.jsx(T,{id:"show-chip",className:`${f(h.fieldSection,h.singleOption)} ${d}`,title:$("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