mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Update portfolio-member-page.js
This commit is contained in:
parent
c0b68eebe8
commit
58af877ca1
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ export function initPortfolioMemberPage() {
|
||||||
let radioButtons = document.querySelectorAll(`input[name="role"]`);
|
let radioButtons = document.querySelectorAll(`input[name="role"]`);
|
||||||
radioButtons.forEach(function (radioButton) {
|
radioButtons.forEach(function (radioButton) {
|
||||||
radioButton.addEventListener("change", function() {
|
radioButton.addEventListener("change", function() {
|
||||||
selectedValue = radioButton.checked ? radioButton.value : null;
|
let selectedValue = radioButton.checked ? radioButton.value : null;
|
||||||
canSubmit = selectedValue != "organization_member";
|
canSubmit = selectedValue != "organization_member";
|
||||||
console.log("selected value")
|
console.log("selected value")
|
||||||
console.log(selectedValue)
|
console.log(selectedValue)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue