Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEBGDE-Components
web-ui
Commits
ba6f07c0
Commit
ba6f07c0
authored
Sep 19, 2023
by
Leonard Ambros II
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolution on WG-392
parent
aa4db13d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
generateFields.js
...bContent/WebGde-Widgets/DataInputWidget/generateFields.js
+8
-4
config.js
WebGde/WebContent/WebGde-Widgets/config.js
+1
-1
NKTI_Schema.json
.../WebContent/WebGde-Widgets/sample_schema/NKTI_Schema.json
+6
-6
No files found.
WebGde/WebContent/WebGde-Widgets/DataInputWidget/generateFields.js
View file @
ba6f07c0
...
...
@@ -658,8 +658,10 @@ const inputDropdown = (key, validation) => {
input
.
addEventListener
(
'keydown'
,
function
(
event
)
{
if
(
event
.
keyCode
==
9
)
{
event
.
preventDefault
();
var
elem
=
document
.
getElementsByClassName
(
'select2-search__field'
);
elem
.
focus
();
//var elem = document.getElementsByClassName('select2-search__field');
//elem.focus();
const
dropdownField
=
document
.
getElementById
(
`
${
key
}
`
);
dropdownField
.
blur
();
}
});
...
...
@@ -702,8 +704,10 @@ const inputDbLookup = async (key, validation) => {
input
.
addEventListener
(
'keydown'
,
function
(
event
)
{
if
(
event
.
keyCode
==
9
)
{
event
.
preventDefault
();
var
elem
=
document
.
getElementsByClassName
(
'select2-search__field'
);
elem
.
focus
();
//var elem = document.getElementsByClassName('select2-search__field');
//elem.focus();
const
dropdownDbLookup
=
document
.
getElementById
(
`
${
key
}
`
);
dropdownDbLookup
.
blur
();
}
});
...
...
WebGde/WebContent/WebGde-Widgets/config.js
View file @
ba6f07c0
...
...
@@ -8,7 +8,7 @@ export const HIGH_LIGHT_SCHEMA = "./WebGde-Widgets/sample_schema/dbSchema_anno.
export
const
ROOT_FOLDER
=
"/WebGde-Widgets"
;
//this determines if the images will be retrieved from the gfs
const
IP
=
"
3.82.212.32
"
const
IP
=
"
44.202.63.115
"
const
GDE_CONTEXTROOT
=
"WebGde-v121-b1"
export
const
DOMAIN
=
`http://
${
IP
}
:8080`
export
const
CONTEXTROOT
=
"gfs-explorer-ws"
...
...
WebGde/WebContent/WebGde-Widgets/sample_schema/NKTI_Schema.json
View file @
ba6f07c0
...
...
@@ -35,8 +35,8 @@
"aka"
:
"field5"
,
"validation"
:
{
"fieldLength"
:
1.0
,
"collection"
:
"
radiolist
"
,
"
item
s"
:
[
"M"
,
"F"
],
"collection"
:
"
dropdown
"
,
"
option
s"
:
[
"M"
,
"F"
],
"mandatory"
:
true
}
},
...
...
@@ -72,8 +72,8 @@
"aka"
:
"field9"
,
"validation"
:
{
"fieldLength"
:
20.0
,
"collection"
:
"
radiolist
"
,
"
items"
:
[
"Emergency Room"
,
"Inpatient"
,
"Outpatient"
,
"other
"
],
"collection"
:
"
dropdown
"
,
"
options"
:
[
"Emergency Room"
,
"Inpatient"
,
"Outpatient
"
],
"mandatory"
:
true
}
},
...
...
@@ -82,8 +82,8 @@
"aka"
:
"field10"
,
"validation"
:
{
"fieldLength"
:
7.0
,
"collection"
:
"
checklist
"
,
"
item
s"
:
[
"Pay"
,
"Service"
,
"other"
],
"collection"
:
"
dropdown
"
,
"
option
s"
:
[
"Pay"
,
"Service"
,
"other"
],
"mandatory"
:
true
}
},
...
...
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