enable quick add new individual
authorbenjamin <benjamin>
Tue, 5 Dec 2023 13:19:58 +0000 (13:19 +0000)
committerbenjamin <benjamin>
Tue, 12 Dec 2023 19:09:11 +0000 (19:09 +0000)
ext/standaloneusers/ang/afformEditUserAccount.aff.html

index 12d20a26ceaa904c1a1ede7352af8cbe2b13d891..7df8b3b1c9be587779ebf5055af3cfc94ff9d71a 100644 (file)
@@ -3,7 +3,7 @@
   <fieldset af-fieldset="User1" class="af-container" af-title="User">
     <af-field name="roles" />
     <af-field name="username" />
-    <af-field name="contact_id" defn="{required: true, input_attrs: {}}" />
+    <af-field name="contact_id" defn="{required: true, input_attrs: {quickAdd: ['civicrm/quick-add/Individual']}}" />
     <af-field name="uf_name" />
     <af-field name="is_active" />
     <af-field name="timezone" defn="{help_pre: ts('Set the timezone of the user. Date and times will be shown in this timezone. You can also leave it empty to use the default system timezone (which is a server setting).'), input_attrs: {placeholder: ts('Server default timezone')}}" />