Create Dependency on two g:ui_reference fields in UI Page
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:01 AM
I have a UI page like these. I want to make sure based on the Model category selected, the model value shows up when the lookup is selected from the model field. Below given is the code snippet for these two fields.
<label style="margin-top: var(--now-global-space--md,10px); font-size: smaller">${gs.getMessage('Model category')}</label>
<g:ui_reference name="amanu" id="amanu" table="cmdb_model_category" completer="AJAXTableCompleter" ng-model="mcat"/>
<label style="margin-top: var(--now-global-space--md,10px); font-size: smaller">${gs.getMessage('Model')}</label>
<g:ui_reference name="amodel" id="amodel" table="cmdb_hardware_product_model" completer="AJAXTableCompleter" ng-model="amodel"/>
0 REPLIES 0