MIPs on Controls

Still working on my MIPs actions, I have come up with a question.


Imagine I have this structure (from an actual application by the way, not 
hypothetical):


  <input ref="instance('data')/country" incremental="true" 
label="Country"/>
  <select1 ref="instance('data')/country" appearance="full">
     <label>Suggestions</label>
     <itemset ref="instance('countries')/country[
                        starts-with(., instance('data')/country)
                   ]">
        <label ref="."/>
        <value ref="."/>
     </itemset>
  </select1>
Note that both controls reference the same location.


If I were to add an @relevant to the select1:
  <select1 ref="country" appearance="full" relevant="../show = true()">


should this relevance, in your opinion, apply only to the select1, or to 
both the select1 and the input. In other words, does the relevance apply to 
the reference or to the control?


Steven

Received on Thursday, 20 June 2024 11:17:01 UTC