Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/shared/sxp_element/SelectInput",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,l,a){window;{Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t=a("@frontend-taglib-clay$clayui/form"),n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("liferay!frontend-js-react-web$react"));function SelectInput({disabled:e,id:l,label:a,name:r,nullable:u,onBlur:o,onChange:i,options:d=[],value:c}){return n.default.createElement(t.ClaySelect,{"aria-label":a,className:"form-control-sm",disabled:e,id:l,name:r,onBlur:o,onChange:i,onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},value:c},(u||""===c)&&n.default.createElement(t.ClaySelect.Option,{key:"nullableOption",label:"",value:""}),d.map((e=>n.default.createElement(t.ClaySelect.Option,{key:e.value,label:e.label,value:e.value}))))}var r=n.default.memo(SelectInput);l.default=r}}));
//# sourceMappingURL=SelectInput.js.map