title: OctoberCMS. Variable disappears after ajax request
body: <p>My component template code:</p>
  
  <p><strong>default.htm:</strong></p>
  
  <pre><code>&lt;div id="filter_variations" style="//display: none;"&gt;
  {{ form_ajax('onAjaxVariations') }}
      &lt;input type="text" id="var_id" name="Filter[id]" value=""&gt;
      &lt;input type="submit"&gt;
  {{ form_close() }}
  &lt;/div&gt;
  &lt;div id="partial_service"&gt;
      {% partial __SELF__ ~ '::service' %}
  &lt;/div&gt;
  </code></pre>
  
  <p>in partial i try display "service" variable, and dynamic "variations" variable:</p>
  
  <pre><code>&lt;h1&gt;{{service.name}}&lt;/h1&gt;
  &lt;span&gt;Selected variation: variation[0].name&lt;/span&gt;
  </code></pre>
  
  <p>and it works</p>
  
  <p><strong>Component:</strong>
  <a href="https://i.stack.imgur.com/OQG9f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OQG9f.png" alt="enter image description here"></a>
  but if I make a ajax request, variable "service" not display in partial. Why is this happening? And how to avoid this?</p>