Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vlad Dumitru
speechcake
Commits
73d9dfc8
Commit
73d9dfc8
authored
Oct 24, 2021
by
Vlad Dumitru
Browse files
fix checkbox persistence bug
parent
b775543e
Pipeline
#5924
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
assets/src/Page/Tiers.elm
View file @
73d9dfc8
...
...
@@ -7,7 +7,7 @@ import Browser exposing (Document)
import
File
exposing
(
File
)
import
File
.
Download
import
Html
exposing
(
Html
,
a
,
button
,
div
,
h1
,
header
,
input
,
label
,
main_
,
p
,
span
,
strong
,
sup
,
table
,
text
,
thead
,
th
,
td
,
tr
)
import
Html
.
Attributes
exposing
(
class
,
disabled
,
for
,
href
,
id
,
placeholder
,
type_
)
import
Html
.
Attributes
exposing
(
checked
,
class
,
disabled
,
for
,
href
,
id
,
placeholder
,
type_
)
import
Html
.
Events
exposing
(
onCheck
,
onClick
,
onInput
)
import
Json
.
Decode
as
JD
...
...
@@ -179,6 +179,7 @@ viewTierListing tagFilterShown selected expanded tierListing search allTags sele
[
input
[
type_
"
checkbox"
,
onCheck
<|
Select
(
uuid
,
data
.
id
,
key
)
,
checked
<|
Dict
.
member
(
Uuid
.
toString
uuid
,
data
.
id
)
selected
]
[]
]
...
...
Write
Preview
Supports
Markdown
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