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-820-267.js

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

2 lines 821 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as p,i as u,a as y,H as b,j as d,_ as l,f as x,bI as _,b1 as g}from"./main-96.js";import{F as o}from"./bf-460-326.js";import{S as v}from"./bf-687-180.js";import"./bf-781-46.js";function D(){var a;const{fieldKey:t}=p(),[s,n]=u(g),{css:r}=y(),e=b(s[t]),f=!!((a=e.valid)!=null&&a.checked),h=k=>{const{checked:i}=k.target;i?e.valid.checked=!0:delete e.valid.checked;const c=x(s,m=>{m[t]=e});n(c),_({event:`Check by default ${i?"on":"off"} : ${e.adminLbl||t}`,type:"set_check_by_default",state:{fields:c,fldKey:t}})};return d.jsx("div",{className:r(o.fieldSection,o.hover_tip,{pr:"36px !important"}),children:d.jsx(v,{id:"chek-by-dflt",tip:l("When enabled, the checkbox is already checked when the form loads. Users can still uncheck it."),title:l("Checked by Default"),action:h,isChecked:f})})}export{D as default};
2