forked from FrederikBaerentsen/BrickTracker
Add visually hidden label for dynamic input, move read-only logic in the macro
This commit is contained in:
@@ -73,7 +73,7 @@ class BrickPart(RebrickablePart):
|
||||
|
||||
# A identifier for HTML component
|
||||
def html_id(self) -> str:
|
||||
components: list[str] = []
|
||||
components: list[str] = ['part']
|
||||
|
||||
if self.fields.figure is not None:
|
||||
components.append(self.fields.figure)
|
||||
|
||||
Reference in New Issue
Block a user