remove the label attribute from the checkboxes
This commit is contained in:
@ -139,8 +139,8 @@ class TextAreaInput(Input):
|
||||
|
||||
|
||||
class CheckboxInput(Input):
|
||||
def __init__(self, id, label, checkboxText, infotext=None, converter: Converter = None):
|
||||
super().__init__(id, label, infotext=infotext, converter=converter)
|
||||
def __init__(self, id, checkboxText, infotext=None, converter: Converter = None):
|
||||
super().__init__(id, "", infotext=infotext, converter=converter)
|
||||
self.checkboxText = checkboxText
|
||||
|
||||
def render_input(self, value):
|
||||
|
@ -124,7 +124,7 @@ class GainInput(Input):
|
||||
class BiasTeeInput(CheckboxInput):
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
"bias_tee", "", "Enable Bias-Tee power supply", converter=OptionalConverter(defaultFormValue=False)
|
||||
"bias_tee", "Enable Bias-Tee power supply", converter=OptionalConverter(defaultFormValue=False)
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user