Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2086 - Enhance regulatory body dropdown #2088

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
384 changes: 178 additions & 206 deletions sources/packages/forms/src/form-definitions/educationprogram.json
Original file line number Diff line number Diff line change
Expand Up @@ -2820,219 +2820,191 @@
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"id": "eug8su"
"id": "eug8su",
"isNew": false
},
{
"clearOnHide": false,
"label": "Columns",
"input": false,
"tableView": false,
"key": "panel1Columns",
"columns": [
{
"components": [
{
"label": "Which regulatory body does this program belong to?",
"labelPosition": "top",
"widget": "html5",
"labelWidth": "",
"labelMargin": "",
"placeholder": "",
"description": "",
"tooltip": "",
"customClass": "",
"tabindex": "",
"hidden": false,
"uniqueOptions": false,
"autofocus": false,
"disabled": false,
"tableView": true,
"modalEdit": false,
"multiple": false,
"dataSrc": "values",
"data": {
"values": [
{
"label": "PTIB",
"value": "ptib"
},
{
"label": "DQAB",
"value": "dqab"
},
{
"label": "Private Act of B.C. Legislature",
"value": "privateActLegislature"
},
{
"label": "Skilled Trades BC",
"value": "skilledTradesBC"
},
{
"label": "ICBC",
"value": "icbc"
},
{
"value": "other",
"label": "Other"
}
],
"resource": "",
"json": "",
"url": "",
"custom": ""
},
"dataType": "",
"idPath": "id",
"valueProperty": "",
"limit": 100,
"template": "<span>{{ item.label }}</span>",
"refreshOn": "",
"refreshOnBlur": "",
"clearOnRefresh": false,
"searchEnabled": true,
"selectThreshold": 0.3,
"readOnlyValue": false,
"customOptions": {},
"useExactSearch": false,
"persistent": true,
"protected": false,
"dbIndex": false,
"encrypted": false,
"clearOnHide": true,
"customDefaultValue": "",
"calculateValue": "",
"calculateServer": false,
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": true,
"onlyAvailableItems": false,
"customMessage": "",
"custom": "",
"customPrivate": false,
"json": "",
"strictDateValidation": false,
"multiple": false,
"unique": false
},
"unique": false,
"errorLabel": "",
"errors": "",
"key": "regulatoryBody",
"tags": [],
"properties": {},
"conditional": {
"show": "",
"when": null,
"eq": "",
"json": ""
},
"customConditional": "",
"logic": [],
"attributes": {
"data-cy": "regulatoryBody"
},
"overlay": {
"style": "",
"page": "",
"left": "",
"top": "",
"width": "",
"height": ""
},
"type": "select",
"indexeddb": {
"filter": {}
},
"selectFields": "",
"searchField": "",
"searchDebounce": 0.3,
"minSearch": 0,
"filter": "",
"redrawOn": "",
"input": true,
"searchThreshold": 0.3,
"prefix": "",
"suffix": "",
"dataGridLabel": false,
"showCharCount": false,
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"lazyLoad": true,
"authenticate": false,
"ignoreCache": false,
"fuseOptions": {
"include": "score",
"threshold": 0.3
},
"id": "e7o9328",
"defaultValue": ""
}
],
"width": 6,
"offset": 0,
"push": 0,
"pull": 0
},
{
"components": [
{
"autofocus": false,
"input": true,
"tableView": true,
"inputType": "text",
"inputMask": "",
"label": "Other institution regulatory body",
"key": "otherRegulatoryBody",
"placeholder": "",
"prefix": "",
"suffix": "",
"multiple": false,
"defaultValue": "",
"protected": false,
"unique": false,
"persistent": true,
"hidden": false,
"clearOnHide": true,
"spellcheck": true,
"validate": {
"required": true,
"minLength": 1,
"maxLength": 100,
"pattern": "",
"custom": "",
"customPrivate": false
},
"conditional": {
"show": "true",
"when": "regulatoryBody",
"eq": "other"
},
"type": "textfield",
"labelPosition": "top",
"inputFormat": "plain",
"tags": [],
"properties": {},
"lockKey": true
}
],
"width": 6,
"offset": 0,
"push": 0,
"pull": 0
}
],
"type": "columns",
"hideLabel": true,
"label": "Which regulatory body does this program belong to?",
"labelPosition": "top",
"widget": "html5",
"labelWidth": "",
"labelMargin": "",
"placeholder": "",
"description": "",
"tooltip": "",
"customClass": "",
"tabindex": "",
"hidden": false,
"uniqueOptions": false,
"autofocus": false,
"disabled": false,
"tableView": true,
"modalEdit": false,
"multiple": false,
"dataSrc": "values",
"data": {
"values": [
{
"label": "PTIB",
"value": "ptib"
},
{
"label": "DQAB",
"value": "dqab"
},
{
"label": "Private Act of B.C. Legislature",
"value": "privateActLegislature"
},
{
"label": "Skilled Trades BC",
"value": "skilledTradesBC"
},
{
"label": "ICBC",
"value": "icbc"
},
{
"value": "senateOrEducationCouncil",
"label": "Senate, Academic Council, Education Council, and/or Program Council and Board of Governors"
},
{
"value": "other",
"label": "Other"
}
],
"resource": "",
"json": "",
"url": "",
"custom": ""
},
"dataType": "",
"idPath": "id",
"valueProperty": "",
"limit": 100,
"template": "<span>{{ item.label }}</span>",
"refreshOn": "",
"refreshOnBlur": "",
"clearOnRefresh": false,
"searchEnabled": true,
"selectThreshold": 0.3,
"readOnlyValue": false,
"customOptions": {},
"useExactSearch": false,
"persistent": true,
"protected": false,
"dbIndex": false,
"encrypted": false,
"clearOnHide": true,
"customDefaultValue": "",
"calculateValue": "",
"calculateServer": false,
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": true,
"onlyAvailableItems": false,
"customMessage": "",
"custom": "",
"customPrivate": false,
"json": "",
"strictDateValidation": false,
"multiple": false,
"unique": false
},
"unique": false,
"errorLabel": "",
"errors": "",
"key": "regulatoryBody",
"tags": [],
"properties": {},
"conditional": {
"show": "",
"when": null,
"eq": ""
"eq": "",
"json": ""
},
"customConditional": "",
"logic": [],
"attributes": {
"data-cy": "regulatoryBody"
},
"overlay": {
"style": "",
"page": "",
"left": "",
"top": "",
"width": "",
"height": ""
},
"type": "select",
"indexeddb": {
"filter": {}
},
"selectFields": "",
"searchField": "",
"searchDebounce": 0.3,
"minSearch": 0,
"filter": "",
"redrawOn": "",
"input": true,
"searchThreshold": 0.3,
"prefix": "",
"suffix": "",
"dataGridLabel": false,
"showCharCount": false,
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"lazyLoad": true,
"authenticate": false,
"ignoreCache": false,
"fuseOptions": {
"include": "score",
"threshold": 0.3
},
"properties": {}
"id": "e7o9328",
"defaultValue": ""
},
{
"autofocus": false,
"input": true,
"tableView": true,
"inputType": "text",
"inputMask": "",
"label": "Other institution regulatory body",
"key": "otherRegulatoryBody",
"placeholder": "",
"prefix": "",
"suffix": "",
"multiple": false,
"defaultValue": "",
"protected": false,
"unique": false,
"persistent": true,
"hidden": false,
"clearOnHide": true,
"spellcheck": true,
"validate": {
"required": true,
"minLength": 1,
"maxLength": 100,
"pattern": "",
"custom": "",
"customPrivate": false
},
"conditional": {
"show": "true",
"when": "regulatoryBody",
"eq": "other"
},
"type": "textfield",
"labelPosition": "top",
"inputFormat": "plain",
"tags": [],
"properties": {},
"lockKey": true,
"isNew": false
}
],
"placeholder": "",
Expand Down
Loading