Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
bd343f14
Commit
bd343f14
authored
May 24, 2016
by
Rafael Ostertag
Browse files
Options
Downloads
Patches
Plain Diff
jqxComboBox now expects data as array of objects having text and value attribute.
parent
6e048884
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
javascript/src/Helper/jqxComboBox.js
+5
-1
5 additions, 1 deletion
javascript/src/Helper/jqxComboBox.js
mockup/personmock.html
+3
-3
3 additions, 3 deletions
mockup/personmock.html
with
8 additions
and
4 deletions
javascript/src/Helper/jqxComboBox.js
+
5
−
1
View file @
bd343f14
...
...
@@ -48,7 +48,11 @@ QfqNS.Helper = QfqNS.Helper || {};
var
source
=
JSON
.
parse
(
$sourceScript
.
text
());
$container
.
jqxComboBox
({
source
:
source
});
$container
.
jqxComboBox
({
source
:
source
,
displayMember
:
"
text
"
,
valueMember
:
"
value
"
});
// Our code creates a hidden input element for each jqxwidget as sibling of the widget. We do this,
// because jqxwidget don't create named input elements, and thus the value would not be sent to the
...
...
This diff is collapsed.
Click to expand it.
mockup/personmock.html
+
3
−
3
View file @
bd343f14
...
...
@@ -827,9 +827,9 @@
<script
type=
"application/jqw-combobox-source"
id=
"combobox1_source"
>
[
"
item 1
"
,
"
item 2
"
,
"
item 3
"
{
"
value
"
:
1
,
"
text
"
:
"
item 1
"
}
,
{
"
value
"
:
2
,
"
text
"
:
"
item 2
"
}
,
{
"
value
"
:
3
,
"
text
"
:
"
item 3
"
}
]
</script>
...
...
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