fix(striker-ui): add input test to network subnet mask in manage manifest

main
Tsu-ba-me 2 years ago
parent 1e2aee47a3
commit 4837143c73
  1. 17
      striker-ui/components/ManageManifest/AnNetworkInputGroup.tsx

@ -300,6 +300,23 @@ const AnNetworkInputGroup = <M extends MapToInputTestID>({
value={previousSubnetMask} value={previousSubnetMask}
/> />
} }
inputTestBatch={buildIPAddressTestBatch(
`${networkName} ${inputSubnetMaskLabel}`,
() => {
setMessage(inputIdSubnetMask);
},
{
onFinishBatch:
buildFinishInputTestBatchFunction(inputIdSubnetMask),
},
(message) => {
setMessage(inputIdSubnetMask, { children: message });
},
)}
onFirstRender={buildInputFirstRenderFunction(
inputIdSubnetMask,
)}
onUnmount={buildInputUnmountFunction(inputIdSubnetMask)}
required required
/> />
), ),

Loading…
Cancel
Save