Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ThaliApp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
ThaliApp
Commits
1828beca
Commit
1828beca
authored
5 years ago
by
Lars van Rhijn
Browse files
Options
Downloads
Patches
Plain Diff
No undefined is displayed when description is empty
parent
9efca603
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!389
Bug/checkbox
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/ui/screens/events/RegistrationScreen.js
+20
-16
20 additions, 16 deletions
app/ui/screens/events/RegistrationScreen.js
with
20 additions
and
16 deletions
app/ui/screens/events/RegistrationScreen.js
+
20
−
16
View file @
1828beca
...
...
@@ -151,14 +151,16 @@ class RegistrationScreen extends Component {
}}
/
>
<
/View
>
<
HTML
html
=
{
field
.
description
}
onLinkPress
=
{(
event
,
href
)
=>
openUrl
(
href
)}
baseFontStyle
=
{
styles
.
description
}
tagsStyles
=
{{
a
:
linkStyles
,
}}
/
>
{
!
field
.
description
||
(
<
HTML
html
=
{
field
.
description
}
onLinkPress
=
{(
event
,
href
)
=>
openUrl
(
href
)}
baseFontStyle
=
{
styles
.
description
}
tagsStyles
=
{{
a
:
linkStyles
,
}}
/
>
)}
{
validity
.
isValid
||
(
<
Text
style
=
{
styles
.
invalid
}
>
{
validity
.
reason
}
...
...
@@ -172,14 +174,16 @@ class RegistrationScreen extends Component {
<
Text
style
=
{
styles
.
field
}
>
{
field
.
label
}
<
/Text
>
<
HTML
html
=
{
field
.
description
}
onLinkPress
=
{(
event
,
href
)
=>
openUrl
(
href
)}
baseFontStyle
=
{
styles
.
description
}
tagsStyles
=
{{
a
:
linkStyles
,
}}
/
>
{
!
field
.
description
||
(
<
HTML
html
=
{
field
.
description
}
onLinkPress
=
{(
event
,
href
)
=>
openUrl
(
href
)}
baseFontStyle
=
{
styles
.
description
}
tagsStyles
=
{{
a
:
linkStyles
,
}}
/
>
)}
<
TextInput
value
=
{
this
.
state
[
key
]}
onChangeText
=
{
value
=>
this
.
updateField
(
key
,
value
)}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment