Customizing ArrayField template to control numbers of items per row (in a json schema stardardish way)
This commit is contained in:
@@ -21,7 +21,7 @@ class Individual(EntityType):
|
||||
lastname: Indexed(str) = Field(title='Nom de famille')
|
||||
surnames: List[Indexed(str)] = Field(
|
||||
default=[],
|
||||
props={"items-per-row": "4", "numbered": True},
|
||||
props={"items_per_row": "4", "numbered": True},
|
||||
title="Surnoms"
|
||||
)
|
||||
day_of_birth: Optional[date] = Field(default=None, title='Date de naissance')
|
||||
|
||||
Reference in New Issue
Block a user