import{g as c,i as p,A as g,a as h,j as t,_ as f,f as u,bD as x,aF as y}from"./main-343.js";import{F as n}from"./bf-838-284.js";import{S as H}from"./bf-711-253.js";function S({cls:O}){const{fieldKey:s}=c(),[l,r]=p(y),e=g(l[s]),{css:a}=h(),m=i=>{e.config.maxHeight=i,i||delete e.config.maxHeight;const o=u(l,d=>{d[s]=e});r(o),x({event:`Options List Height '${String(i||"Off").replace("true","On")}': ${e.lbl||s}`,type:"height_changed",state:{fields:o,fldKey:s}})};return t.jsx(H,{id:"nmbr-stng",title:"Options List Height:",className:a(n.fieldSection),isPro:!0,proProperty:"listHeight",children:t.jsx("div",{className:a({mx:5}),children:t.jsxs("div",{className:a(n.fieldNumber,{py:"0px !important"}),children:[t.jsx("span",{children:f("Maximum:")}),t.jsx("input",{"data-testid":"nmbr-stng-min-inp",title:"Maximum height of Option List(Ex: 400)","aria-label":"Maximum height of Option List",placeholder:"Type Maximum Height...",className:a(n.input,n.w140),type:"number",value:e.config.maxHeight||"",onChange:i=>m(i.target.value)})]})})})}export{S as O};
