Hi,<br>Some of my model have 'refers_to' columns. I wanted to add some pairs of 'display' and 'value' to 'valid_values' of the column in addition to the 'Collection' class. So, I overrode arguments sub.
<br><br>sub arguments {<br> my $self = shift;<br> my $args = $self->SUPER::arguments(@_);<br> unshift @{ $args->{thecolumn}{valid_values} }, { display => 'display name', value => 'value' };
<br> return $args;<br>}<br><br>This works but in the select field, I see many redundant 'display name'. 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