From 772ee13dc26f7bc2ab57580867136615a17d061d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Mon, 18 Nov 2024 17:00:26 -0300 Subject: [PATCH] Replace checkboxes with DDL on attendee form (#544) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- .../forms/attendee-form/attendee-form.js | 92 +++++++++---------- 1 file changed, 42 insertions(+), 50 deletions(-) diff --git a/src/components/forms/attendee-form/attendee-form.js b/src/components/forms/attendee-form/attendee-form.js index 64dddd40b..cf927edbb 100644 --- a/src/components/forms/attendee-form/attendee-form.js +++ b/src/components/forms/attendee-form/attendee-form.js @@ -19,7 +19,8 @@ import { AttendeeInput, Input, Panel, - TagInput + TagInput, + Dropdown } from "openstack-uicore-foundation/lib/components"; import ExtraQuestionsForm from "openstack-uicore-foundation/lib/components/extra-questions"; import QuestionsSet from "openstack-uicore-foundation/lib/utils/questions-set"; @@ -50,7 +51,7 @@ class AttendeeForm extends React.Component { this.removeUnchangedFields = this.removeUnchangedFields.bind(this); } - componentDidUpdate(prevProps, prevState, snapshot) { + componentDidUpdate(prevProps) { const state = {}; scrollToError(this.props.errors); @@ -351,56 +352,47 @@ class AttendeeForm extends React.Component {
-
-
- - -
+
+ +
-
-
- - -
+
+ +
-
-
- - -
+
+ +