fix form evaluation for optional fields

This commit is contained in:
Jakob Ketterl
2021-03-24 23:17:50 +01:00
parent 6ddced4689
commit 19496d46a3
13 changed files with 40 additions and 31 deletions

View File

@@ -25,5 +25,5 @@ class RtlTcpDeviceDescription(ConnectorDeviceDescription):
def getInputs(self) -> List[Input]:
return super().getInputs() + [RemoteInput()]
def getMandatoryKeys(self):
return super().getMandatoryKeys() + ["device"]
def getDeviceMandatoryKeys(self):
return super().getDeviceMandatoryKeys() + ["device"]