fng-ui-select 0.12.0-beta.330 → 0.12.0-beta.332

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fng-ui-select",
3
3
  "author": "Mark Chapman <support@forms-angular.org>",
4
- "version": "0.12.0-beta.330",
4
+ "version": "0.12.0-beta.332",
5
5
  "description": "angular-ui-select plugin for forms-angular",
6
6
  "repository": {
7
7
  "type": "git",
@@ -99,7 +99,7 @@
99
99
  }
100
100
  } else if (typeof value !== "string") {
101
101
  cb(formSchema, value); // already converted
102
- } else if (formSchema.fngUiSelect.deriveOptions) {
102
+ } else if (formSchema.fngUiSelect && formSchema.fngUiSelect.deriveOptions) {
103
103
  const obj = localLookups[formSchema.fngUiSelect.deriveOptions].find((test) => test.id === value);
104
104
  cb(formSchema, { id: value, text: obj ? obj.text : "" });
105
105
  } else {
@@ -1,38 +0,0 @@
1
- #name: Playwright Tests
2
- #on:
3
- # push:
4
- # branches: [ main, master ]
5
- # pull_request:
6
- # branches: [ main, master ]
7
- #jobs:
8
- # test:
9
- # timeout-minutes: 60
10
- # runs-on: ubuntu-latest
11
- # steps:
12
- # - uses: actions/checkout@v4
13
- # - uses: actions/setup-node@v4
14
- # with:
15
- # node-version: lts/*
16
- # - name: Start MongoDB
17
- # uses: supercharge/mongodb-github-action@1.10.0
18
- # with:
19
- # mongodb-version: 6.0
20
- # - name: Setup mongodb-tools
21
- # run: |
22
- # wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb
23
- # sudo apt install ./mongodb-database-tools-*-100.6.1.deb
24
- # mongorestore --version
25
- # - name: Install dependencies
26
- # run: npm ci
27
- # - name: Install Playwright Browsers
28
- # run: npx playwright install --with-deps
29
- # - name: RUn the test forms-angular website (how?)
30
- #
31
- # - name: Run Playwright tests
32
- # run: npx playwright test
33
- # - uses: actions/upload-artifact@v4
34
- # if: always()
35
- # with:
36
- # name: playwright-report
37
- # path: playwright-report/
38
- # retention-days: 30