Closed nonprofittechy closed 4 months ago
Thanks @nonprofittechy ! I appreciate you adding this to a host of _fields methods.
If I understand correctly, will just add the maxlength=# attribute inside a function call, like users[i].name_fields(person_or_business='unsure', maxlength=40) ? And it applies to all internal fields, in this case (first, middle, last, and business name?
It would look like this:
users[0].name_fields(maxlength={"first": 40, "last": 32})
That's even better. The ability to customize length on a field-by-field basis = chef's kiss.
@mnewsted I'm opening this up as a draft PR for now, LMK if the API makes sense.