Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Select component do not work with url datasource #29

Open
trongnghia098 opened this issue Jan 16, 2020 · 3 comments
Open

Select component do not work with url datasource #29

trongnghia098 opened this issue Jan 16, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@trongnghia098
Copy link

trongnghia098 commented Jan 16, 2020

When i use for the angular-material-formio (tag <mat-formio>) the url datasource select don't work; it doesn't populate the dropdown when click. But tag <formio> working.
Tested on version 1.6.2

Example form

          "autofocus": false,
          "input": true,
          "tableView": true,
          "label": "Test 1",
          "key": "page1Select3",
          "placeholder": "",
          "data": {
            "values": [
              {
                "value": "",
                "label": ""
              }
            ],
            "json": "",
            "url": "https://cdn.rawgit.com/mshafrir/2646763/raw/states_titlecase.json",
            "resource": "",
            "custom": "",
            "headers": [
              {
                "value": "",
                "key": ""
              }
            ],
            "disableLimit": true
          },
          "dataSrc": "url",
          "valueProperty": "",
          "defaultValue": "",
          "refreshOn": "",
          "filter": "",
          "authenticate": false,
          "template": "<span>{{ item.name }}</span>",
          "multiple": false,
          "protected": false,
          "unique": false,
          "persistent": true,
          "hidden": false,
          "clearOnHide": true,
          "validate": {
            "required": false
          },
          "type": "select",
          "labelPosition": "top",
          "tags": [],
          "conditional": {
            "show": "",
            "when": null,
            "eq": ""
          },
          "properties": {}
        }

@trongnghia098 trongnghia098 added the bug Something isn't working label Jan 16, 2020
@jeriah-formio
Copy link

@trongnghia098
Thank you for the report. We have assigned this issue to our development team.

@rahul106-cpu
Copy link

Hi @jhen1422,
can you please look into this issue?

@rahul106-cpu
Copy link

@jhen1422, This is in the open state for a very long time and we need to integrate this into our application.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants