+
+ {
+ p.rule.action = v as any;
+ p.onChange?.();
+ }}
+ options={[
+ { label: "drop", value: "drop" },
+ { label: "reject", value: "reject" },
+ { label: "accept", value: "accept" },
+ { label: "return", value: "return" },
+ { label: "continue", value: "continue" },
+ ]}
+ />
+
+ {
+ p.rule.direction = v as any;
+ p.onChange?.();
+ }}
+ options={[
+ { label: "in", value: "in" },
+ { label: "out", value: "out" },
+ { label: "inout", value: "inout" },
+ ]}
+ />
+
+ {
+ p.rule.priority = v && v !== "" ? Number(v) : undefined;
+ p.onChange?.();
+ }}
+ size={ServerApi.Config.constraints.nwfilter_priority}
+ />
+
+
+