Anyone, please let me know how can I create custom show/hide fields under the UI component form. I need to create a drop-down and add options E.G.- Job and Departments. If the user clicks on the job then I need to show the job code under the drop-down. This is done.
But now I need to know how can I show a second drop-down based on the job or department's click.
- If the user selects the Job option from the first drop-down. Then I need to show the second dropdown with job code options.
- If the user selects the departments from the first department then I need to show the departments under the second drop-down. If there is any way in the Magento so please let me know.