mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
implement some basic validation for the sample rate
This commit is contained in:
parent
79e81295d5
commit
374bbb599e
4 changed files with 46 additions and 9 deletions
|
|
@ -331,8 +331,8 @@ class ModesInput(DropdownInput):
|
|||
|
||||
|
||||
class ExponentialInput(Input):
|
||||
def __init__(self, id, label, unit, infotext=None):
|
||||
super().__init__(id, label, infotext=infotext)
|
||||
def __init__(self, id, label, unit, infotext=None, validator: Validator = None):
|
||||
super().__init__(id, label, infotext=infotext, validator=validator)
|
||||
self.unit = unit
|
||||
|
||||
def defaultConverter(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue