Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
cb20b815
Commit
cb20b815
authored
Feb 17, 2020
by
Marc Egger
Browse files
prepare for merge
parent
52b564d0
Pipeline
#3293
failed with stages
in 3 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/TypeAhead.js
View file @
cb20b815
...
...
@@ -69,9 +69,6 @@ var QfqNS = QfqNS || {};
});
$element
.
after
(
$inputField
);
// hide original input
$element
.
detach
().
attr
(
'
type
'
,
'
hidden
'
).
insertAfter
(
$inputField
);
// prevent form submit when enter key is pressed
$inputField
.
off
(
'
keyup
'
);
$inputField
.
on
(
'
keypress keyup
'
,
function
(
e
)
{
...
...
mockup/typeahead.php
View file @
cb20b815
...
...
@@ -141,7 +141,7 @@
</div>
<div
class=
"col-md-6"
>
<input
id=
"tags1"
class=
"form-control qfq-typeahead"
name=
"tags1"
<input
id=
"tags1"
type=
"hidden"
class=
"form-control qfq-typeahead"
name=
"tags1"
data-typeahead-sip=
"abcdef"
data-typeahead-limit=
"10"
data-typeahead-minlength=
"1"
...
...
@@ -160,7 +160,7 @@
</div>
<div
class=
"col-md-6"
>
<input
id=
"tags2"
class=
"form-control qfq-typeahead"
name=
"tags2"
<input
id=
"tags2"
type=
"hidden"
class=
"form-control qfq-typeahead"
name=
"tags2"
data-typeahead-sip=
"abcdef"
data-typeahead-limit=
"10"
data-typeahead-minlength=
"1"
...
...
Write
Preview
Markdown
is supported
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