Sha256: 94acef15b1be3eb01dbb01dc8f2fb35b8632e57ffcc3d6d69999e907162786b4
Contents?: true
Size: 849 Bytes
Versions: 46
Compression:
Stored size: 849 Bytes
Contents
import createFieldDependentInputs from "src/decidim/admin/field_dependent_inputs.component" $(() => { const $attendeeType = $('[name="meeting_registration_invite[existing_user]"'); createFieldDependentInputs({ controllerField: $attendeeType, wrapperSelector: ".attendee-fields", dependentFieldsSelector: ".attendee-fields--new-user", dependentInputSelector: "input", enablingCondition: () => { return $("#meeting_registration_invite_existing_user_false").is(":checked") } }); createFieldDependentInputs({ controllerField: $attendeeType, wrapperSelector: ".attendee-fields", dependentFieldsSelector: ".attendee-fields--user-picker", dependentInputSelector: "input", enablingCondition: () => { return $("#meeting_registration_invite_existing_user_true").is(":checked") } }); })
Version data entries
46 entries across 46 versions & 1 rubygems