📝 (StringListInput.py): update parameter name from "param" to "input_value" to improve clarity and consistency
📝 (StringListOutput.py): update parameter name from "param" to "input_value" to improve clarity and consistency 📝 (index.tsx): add InputListComponent to handle StringListInput and StringListOutput components in IOFieldView 📝 (index.tsx): update InputListComponent props to include value, onChange, disabled, and playgroundDisabled 📝 (index.tsx): update IOFieldView to render InputListComponent for StringListInput and StringListOutput components
This commit is contained in:
parent
aa3ea07c6a
commit
1df3fe7ad6
5 changed files with 49 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ class StringListInput(CustomComponent):
|
|||
display_name = "String List Input"
|
||||
|
||||
def build_config(self):
|
||||
return {"param": {"display_name": "String List Input", "field_type": "str", "list": True}}
|
||||
return {"input_value": {"display_name": "String List Input", "field_type": "str", "list": True}}
|
||||
|
||||
def build(self, param: list) -> Record:
|
||||
return Record(data=param)
|
||||
def build(self, input_value: list) -> Record:
|
||||
return Record(data=input_value)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class StringListOutput(CustomComponent):
|
|||
display_name = "String List Output"
|
||||
|
||||
def build_config(self):
|
||||
return {"param": {"display_name": "String List Output", "field_type": "str", "list": True}}
|
||||
return {"input_value": {"display_name": "String List Output", "field_type": "str", "list": True}}
|
||||
|
||||
def build(self, param: list) -> Record:
|
||||
return Record(data=param)
|
||||
def build(self, input_value: list) -> Record:
|
||||
return Record(data=input_value)
|
||||
Loading…
Add table
Add a link
Reference in a new issue