Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
form-creator-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simmctic
form-creator
form-creator-ui
Merge requests
!53
Issue
#52
: Add multiple answers interface
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#52
: Add multiple answers interface
issue/52
into
development
Overview
0
Commits
1
Pipelines
0
Changes
34
Merged
Richard Fernando Heise Ferreira
requested to merge
issue/52
into
development
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
34
Expand
closes
#52 (closed)
Signed-off-by: Gabriel Silva Hermida
gash18@inf.ufpr.br
Edited
4 years ago
by
Gabriel Silva Hermida
0
0
Merge request reports
Compare
development
version 1
0107c5b3
4 years ago
development (base)
and
latest version
latest version
80ff48dc
1 commit,
4 years ago
version 1
0107c5b3
1 commit,
4 years ago
34 files
+
459
−
477
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
34
Search (e.g. *.vue) (Ctrl+P)
src/components/fieldsAnswerForm/FieldFooterOptions.js deleted
100644 → 0
+
0
−
40
Options
import
React
from
'
react
'
;
import
{
makeStyles
}
from
'
@material-ui/core/styles
'
;
import
Grid
from
'
@material-ui/core/Grid
'
;
import
Paper
from
'
@material-ui/core/Paper
'
;
import
TextField
from
'
@material-ui/core/TextField
'
;
import
DeleteOutlinedIcon
from
'
@material-ui/icons/DeleteOutlined
'
;
import
IconButton
from
'
@material-ui/core/IconButton
'
;
import
Select
from
'
@material-ui/core/Select
'
;
import
MenuItem
from
'
@material-ui/core/MenuItem
'
;
import
AddCircleIcon
from
'
@material-ui/icons/AddCircle
'
;
import
CloseIcon
from
'
@material-ui/icons/Close
'
;
import
Switch
from
'
@material-ui/core/Switch
'
;
import
FormControlLabel
from
'
@material-ui/core/FormControlLabel
'
;
function
FieldFooterOptions
(
props
)
{
return
(
<>
<
FormControlLabel
control
=
{
<
Switch
onChange
=
{
e
=>
props
.
setRequiredField
(
props
.
idq
)
}
value
=
"
required
"
color
=
"
primary
"
checked
=
{
props
.
required
}
/
>
}
label
=
"
Obrigatória
"
/>
<
IconButton
aria
-
label
=
"
delete
"
onClick
=
{()
=>
{
props
.
deleteFromForm
(
props
.
idq
)
}
}
>
<
DeleteOutlinedIcon
/>
<
/IconButton
>
<
/
>
);
}
export
default
FieldFooterOptions
;
\ No newline at end of file
Loading