How to use CVterm autocomplete docs #37
Labels
good first issue
Good for newcomers
TOPIC: Extending Tripal
Documentation on developing custom modules, fields, themes, etc.
We need to add documentation for how to use the Tripal core cvterm autocomplete.
This was added via tripal/tripal#1486
Here is @reynoldtan documentation from the PR:
An example form element would look this:
Since the autocomplete returns human-readable output and not the cvterm id,
there is an additional method that will fetch the ID from the user input.
And this is what it looks like in use:
![video of using the example module](https://private-user-images.githubusercontent.com/1566301/237240262-68bf5b9a-3c77-4de7-943c-01f5f36ac8e2.mov?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjg0NzYsIm5iZiI6MTczOTIyODE3NiwicGF0aCI6Ii8xNTY2MzAxLzIzNzI0MDI2Mi02OGJmNWI5YS0zYzc3LTRkZTctOTQzYy0wMWY1ZjM2YWM4ZTIubW92P1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMjI1NjE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWM1NTYxOTUxOWExM2ExOTQ1NDE4MGU2YTRhMmI5MzY2YjgxMjYzOTk5MWM5YzBkMTQyZDY2NWE4ZTcwZTI4MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.lOgi62_COoEjOitlTfIX2GAkXuKjL2R8_YM1QUYy-NQ)
The text was updated successfully, but these errors were encountered: