compucorp / uk.co.compucorp.membershipextras

Membership Extras for CiviCRM
Other
5 stars 8 forks source link

CIWEMB-490: Make the 'days to renew in advance' field accepts integers only #503

Closed omarabuhussein closed 11 months ago

omarabuhussein commented 11 months ago

Before

The "days to renew in advance" field is a text field that accepts any alphanumeric string where it should only accepts integers: before

After

The "days to renew in advance" field only accepts integers: after

Technical details

The 2nd commit in this PR allow adding extra attributes to setting fields, which is needed for this: https://github.com/compucorp/io.compuco.automateddirectdebit/pull/14 to work.