ynotsoft-dynamic-form 1.0.95 → 1.0.97
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/README.md +9 -0
- package/dist/dynamic-form.js +1604 -1584
- package/dist/dynamic-form.umd.cjs +46 -46
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -262,9 +262,18 @@ Search for selections and select multiple/single
|
|
|
262
262
|
optionsUrl: "/api/users/search", // API endpoint
|
|
263
263
|
minSearchLength: 2, // Minimum characters before search (default: 2)
|
|
264
264
|
selectMode: "single", // 'single' | 'multiple' (default: 'single')
|
|
265
|
+
returnValueOnly: true, // true: ['user@email.com'], false: [{ value, label }]
|
|
265
266
|
}
|
|
266
267
|
```
|
|
267
268
|
|
|
269
|
+
Output format for `searchselect` values:
|
|
270
|
+
- `returnValueOnly: false` (default) -> `[{ value: "Aaron.ssss@ssss.gov.au", label: "Aaron ssss" }]`
|
|
271
|
+
- `returnValueOnly: true` -> `["Aaron.ssss@ssss.gov.au"]`
|
|
272
|
+
|
|
273
|
+
Backward compatibility aliases are also supported:
|
|
274
|
+
- `return: true`
|
|
275
|
+
- `reuturn: true`
|
|
276
|
+
|
|
268
277
|
### 7\. Checkbox Field
|
|
269
278
|
|
|
270
279
|
Single checkbox with flexible layouts and card styling.
|