Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
signature_field
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
signature_field
Commits
7e547d0e
Commit
7e547d0e
authored
1 year ago
by
Bharath Kumar Kondeti
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3347530
- Resolved PHPCS issues.
parent
af0fd35a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!3
Issue#3347530 - Resolved PHPCS issues.
,
!2
Issue#3347530 - Resolved PHPCS issues.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/schema/signature_field.schema.yml
+1
-1
1 addition, 1 deletion
config/schema/signature_field.schema.yml
src/Plugin/Field/FieldWidget/SignatureWidget.php
+1
-1
1 addition, 1 deletion
src/Plugin/Field/FieldWidget/SignatureWidget.php
with
2 additions
and
2 deletions
config/schema/signature_field.schema.yml
+
1
−
1
View file @
7e547d0e
...
...
@@ -41,4 +41,4 @@ field.widget.settings.field_signature_field_widget:
label
:
'
Pencil
color'
background_color
:
type
:
string
label
:
'
Canvas
background
color'
\ No newline at end of file
label
:
'
Canvas
background
color'
This diff is collapsed.
Click to expand it.
src/Plugin/Field/FieldWidget/SignatureWidget.php
+
1
−
1
View file @
7e547d0e
...
...
@@ -176,7 +176,7 @@ class SignatureWidget extends WidgetBase implements ContainerFactoryPluginInterf
$form
[
'#attributes'
][
'novalidate'
]
=
'novalidate'
;
// Get value.
$value
=
isset
(
$items
[
$delta
]
->
value
)
?
$items
[
$delta
]
->
value
:
''
;
$value
=
$items
[
$delta
]
->
value
?
?
''
;
// Signature thumbnail.
$sign_thumb
=
NULL
;
...
...
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