theme.keycloak.v2.admin.resources.assets.TimeSelectorControl-BxG2OWnt.js Maven / Gradle / Ivy
import{jsxs as c,jsx as r}from"react/jsx-runtime";import{aj as m,ac as p,ad as f,ae as x,an as d,aq as C}from"./main-C7ps2lmX.js";import{T}from"./TimeSelector-DcQmr_f3.js";const v=({name:e,label:i,controller:t,labelIcon:a,...l})=>{const{control:u,formState:{errors:n}}=m(),o=n[e];return c(p,{isRequired:t.rules?.required===!0,label:i||e,fieldId:e,labelIcon:a?r(f,{helpText:a,fieldLabelId:e}):void 0,children:[r(x,{...t,name:e,control:u,render:({field:s})=>r(T,{...l,id:e,"data-testid":e,value:s.value,onChange:s.onChange,validated:o?d.error:d.default})}),o&&r(C,{message:o.message})]})};export{v as T};
//# sourceMappingURL=TimeSelectorControl-BxG2OWnt.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy