Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bootstrap_datepicker
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
bootstrap_datepicker
Merge requests
!6
Issue
#3322583
: Undefined array key "type" in bootstrap5_preprocess_input()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3322583
: Undefined array key "type" in bootstrap5_preprocess_input()
issue/bootstrap_datepicker-3322583:3322583-undefined-array-key
into
2.0.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
David Pacassi Torrico
requested to merge
issue/bootstrap_datepicker-3322583:3322583-undefined-array-key
into
2.0.x
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#3322583
0
0
Merge request reports
Compare
2.0.x
2.0.x (HEAD)
and
latest version
latest version
16ff8a1b
1 commit,
1 year ago
1 file
+
3
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Element/BootstrapDate.php
+
3
−
0
Options
@@ -92,6 +92,9 @@ class BootstrapDate extends FormElement {
@@ -92,6 +92,9 @@ class BootstrapDate extends FormElement {
// Load the Bootstrap datepicker title via data-provide attribute.
// Load the Bootstrap datepicker title via data-provide attribute.
$settings
[
'data-date-title'
]
=
$element
[
'#datepicker_title'
]
??
NULL
;
$settings
[
'data-date-title'
]
=
$element
[
'#datepicker_title'
]
??
NULL
;
// Set the attributes type which is used by themes.
$settings
[
'type'
]
=
'bootstrap_datepicker'
;
// Append our attributes to element.
// Append our attributes to element.
$element
[
'#attributes'
]
+=
$settings
;
$element
[
'#attributes'
]
+=
$settings
;
Loading