Download the PHP package northwestern-sysdev/dynamic-forms-directory-search without Composer
On this page you can find all versions of the php package northwestern-sysdev/dynamic-forms-directory-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download northwestern-sysdev/dynamic-forms-directory-search
More information about northwestern-sysdev/dynamic-forms-directory-search
Files in northwestern-sysdev/dynamic-forms-directory-search
Package dynamic-forms-directory-search
Short Description Northwestern Directory Search component for Dynamic Forms
License MIT
Informations about the package dynamic-forms-directory-search
Northwestern Directory Search Component for Dynamic Forms
This is a Dynamic Forms for Laravel component that does a lookup in the Northwestern directory.
It provides both the form builder/presentation UI and a controller for doing the lookups.
Installation
You should already be using Dynamic Forms for Laravel. These instructions assume you have already set it up.
You will need an app with access to Directory Search - Basic. You can request access in the API Service Registry. Your API key should exist in the .env
:
Once ready, you can install the component via Composer:
You will need to make two further changes:
-
Add a route for the new controller, inside the existing Dynamic Forms route group:
-
Register the UI component with the Formiojs library in your
resources/js/formio/index.js
file:Then run Laravel Mix to rebuild with the new component.
The component will show up in the form builder in the advanced section. You can rearrange it in the menu like any other component.
Contributing
Pull requests from members of the Northwestern community are welcome!
All versions of dynamic-forms-directory-search with dependencies
northwestern-sysdev/laravel-soa Version >=6
northwestern-sysdev/dynamic-forms Version *