Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-app
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hds
flexin
web-app
Commits
3f538894
Unverified
Commit
3f538894
authored
Nov 25, 2018
by
Rémy Huet
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add custom Dropdown for redux-form
parent
32078688
Pipeline
#30919
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/forms/CustomDropdown.jsx
src/forms/CustomDropdown.jsx
+12
-0
No files found.
src/forms/CustomDropdown.jsx
0 → 100644
View file @
3f538894
import
React
from
'
react
'
;
import
{
Dropdown
}
from
'
semantic-ui-react
'
;
export
default
function
CustomDropdown
({
currentValue
,
input
,
...
rest
})
{
return
(
<
Dropdown
onChange
=
{
(
event
,
data
)
=>
input
.
onChange
(
data
.
value
)
}
value
=
{
currentValue
}
{
...
rest
}
/>
);
}
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