Add max lengths when editing person name via profile view
This commit is contained in:
parent
6a0a4627b4
commit
f005ef4d52
2 changed files with 12 additions and 3 deletions
|
@ -447,6 +447,9 @@ class PersonView(MasterView):
|
|||
def get_max_lengths(self):
|
||||
model = self.model
|
||||
return {
|
||||
'person_first_name': maxlen(model.Person.first_name),
|
||||
'person_middle_name': maxlen(model.Person.middle_name),
|
||||
'person_last_name': maxlen(model.Person.last_name),
|
||||
'address_street': maxlen(model.PersonMailingAddress.street),
|
||||
'address_street2': maxlen(model.PersonMailingAddress.street2),
|
||||
'address_city': maxlen(model.PersonMailingAddress.city),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue