create util (#16130)

This commit is contained in:
claire bontempo
2022-06-24 10:57:19 -07:00
committed by GitHub
parent 7a5f6045d1
commit 5467401225
3 changed files with 37 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ import layout from '../templates/components/search-select';
*
* @param {string} id - The name of the form field
* @param {Array} models - An array of model types to fetch from the API.
* @param {function} onChange - The onchange action for this form field.
* @param {function} onChange - The onchange action for this form field. ** SEE UTIL ** search-select-has-many.js if selecting models from a hasMany relationship
* @param {string | Array} inputValue - A comma-separated string or an array of strings -- array of ids for models.
* @param {string} label - Label for this form field
* @param {string} fallbackComponent - name of component to be rendered if the API call 403s