Sha256: 74fedac968eebea072ffcf074dd50e5c1ebe655c88b2bddf1257c51ccc017eb8
Contents?: true
Size: 844 Bytes
Versions: 29
Compression:
Stored size: 844 Bytes
Contents
((exports) => { const { createFieldDependentInputs } = exports.DecidimAdmin; const $attendeeType = $('[name="conference_registration_invite[existing_user]"'); createFieldDependentInputs({ controllerField: $attendeeType, wrapperSelector: ".attendee-fields", dependentFieldsSelector: ".attendee-fields--new-user", dependentInputSelector: "input", enablingCondition: () => { return $("#conference_registration_invite_existing_user_false").is(":checked") } }); createFieldDependentInputs({ controllerField: $attendeeType, wrapperSelector: ".attendee-fields", dependentFieldsSelector: ".attendee-fields--user-picker", dependentInputSelector: "input", enablingCondition: () => { return $("#conference_registration_invite_existing_user_true").is(":checked") } }); })(window);
Version data entries
29 entries across 29 versions & 1 rubygems