+ );
+ });
+
+ const addAction = () => {
+ const postcodeFromAddValue = formInputData.getFieldsValue()
+ .postcodeFromAdd as string;
+ const postcodeUntilAdd = formInputData.getFieldsValue()
+ .postcodeUntilAdd as string;
+ postCodeRanges.push({
+ from: postcodeFromAddValue,
+ until: postcodeUntilAdd,
+ });
+ setPostCodeRanges([...postCodeRanges]);
+ formInputData.setFieldsValue({ postcodeFromAdd: "" });
+ formInputData.setFieldsValue({ postcodeUntilAdd: "" });
+ };
+
+ return (
+ <>
+ {postCodeRangeComponents}
+