import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
import { FormElement } from "./FormElement.mjs";
import { jsx } from "react/jsx-runtime";

//#region src/components/Form/elements/EditableFieldInputElement.tsx
const EditableFieldInputElement = (props) => /* @__PURE__ */ jsx(FormElement, {
	id: props.name,
	"data-testid": props.name,
	"aria-labelledby": props.label ? `${props.name}-label` : void 0,
	"aria-label": props.label ? void 0 : props.name,
	Element: EditableFieldInput,
	...props
});

//#endregion
export { EditableFieldInputElement };
//# sourceMappingURL=EditableFieldInputElement.mjs.map