Hi,<br>Some of my model have &#39;refers_to&#39; columns. I wanted to add some pairs of &#39;display&#39; and &#39;value&#39; to &#39;valid_values&#39; of the column in addition to the &#39;Collection&#39; class. So, I overrode arguments sub.
<br><br>sub arguments {<br>&nbsp;&nbsp;&nbsp; my $self = shift;<br>&nbsp;&nbsp;&nbsp; my $args = $self-&gt;SUPER::arguments(@_);<br>&nbsp;&nbsp;&nbsp; unshift @{ $args-&gt;{thecolumn}{valid_values} }, { display =&gt; &#39;display name&#39;, value =&gt; &#39;value&#39; };
<br>&nbsp;&nbsp;&nbsp; return $args;<br>}<br><br>This works but in the select field, I see many redundant &#39;display name&#39;. I guess this is not the right approach for it. How do I add extra values in the field?<br><br>-- <br>Best,
<br>In-Suk Joung