Sha256: 91d7fb48e9ebf2db4083a9305ce86127a982378159980d60aab5e15947319d3a
Contents?: true
Size: 755 Bytes
Versions: 29
Compression:
Stored size: 755 Bytes
Contents
((exports) => { const { createFieldDependentInputs } = exports.DecidimAdmin; const $conferenceSpeakerType = $("#conference_speaker_existing_user"); createFieldDependentInputs({ controllerField: $conferenceSpeakerType, wrapperSelector: ".user-fields", dependentFieldsSelector: ".user-fields--full-name", dependentInputSelector: "input", enablingCondition: ($field) => { return $field.val() === "false" } }); createFieldDependentInputs({ controllerField: $conferenceSpeakerType, wrapperSelector: ".user-fields", dependentFieldsSelector: ".user-fields--user-picker", dependentInputSelector: "input", enablingCondition: ($field) => { return $field.val() === "true" } }); })(window);
Version data entries
29 entries across 29 versions & 1 rubygems