title: Wagtial: within StructBlock, pass parameters to child block
body: <p>I have a simple sub-class of <code>StructBlock</code>:</p>
  <pre class="lang-py prettyprint-override"><code>class IntegerRangeBlock(blocks.StructBlock):
      from_ = blocks.IntegerBlock(label=&quot;from&quot;)
      to = blocks.IntegerBlock(label=&quot;to&quot;)
  </code></pre>
  <p>For <code>IntegerBlock</code>, we can pass <code>max_value</code> or <code>min_value</code> to it.</p>
  <p>Is it possible to do <code>IntegerRangeBlock(min_value=10)</code> and give <code>min_value=10</code> to <code>from_</code>, and <code>IntegerRangeBlock(max_value=100)</code> and give <code>max_value=100</code> to <code>to</code>?</p>
  <p>Is there any way to pass parameters to child blocks?</p>
  <p>BTW this didnot work:</p>
  <pre class="lang-py prettyprint-override"><code>    def __init__(self, min_value=None, max_value=None, *args, **kwargs):
          super().__init__(*args, **kwargs)
          self.child_blocks[&quot;from_&quot;].min_value = min_value
          self.child_blocks[&quot;to&quot;].max_value = max_value
  </code></pre>