Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
935911c7
Commit
935911c7
authored
Oct 10, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix form clearing for company size
parent
6f05c324
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ee/app/assets/javascripts/hand_raise_leads/hand_raise_lead/components/hand_raise_lead_button.vue
...ads/hand_raise_lead/components/hand_raise_lead_button.vue
+1
-1
ee/spec/frontend/hand_raise_leads/components/hand_raise_lead_button_spec.js
...and_raise_leads/components/hand_raise_lead_button_spec.js
+5
-0
No files found.
ee/app/assets/javascripts/hand_raise_leads/hand_raise_lead/components/hand_raise_lead_button.vue
View file @
935911c7
...
...
@@ -151,7 +151,7 @@ export default {
this
.
firstName
=
''
;
this
.
lastName
=
''
;
this
.
companyName
=
''
;
this
.
companySize
=
''
;
this
.
companySize
=
null
;
this
.
phoneNumber
=
''
;
this
.
country
=
null
;
this
.
state
=
null
;
...
...
ee/spec/frontend/hand_raise_leads/components/hand_raise_lead_button_spec.js
View file @
935911c7
...
...
@@ -150,6 +150,11 @@ describe('HandRaiseLeadButton', () => {
comment
:
'
comment
'
,
...
formData
,
});
[
'
firstName
'
,
'
lastName
'
,
'
companyName
'
,
'
phoneNumber
'
].
forEach
((
f
)
=>
expect
(
wrapper
.
vm
[
f
]).
toBe
(
''
),
);
[
'
companySize
'
,
'
country
'
,
'
state
'
].
forEach
((
f
)
=>
expect
(
wrapper
.
vm
[
f
]).
toBe
(
null
));
});
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment