[rt-users] adding custom field type, how to force single value
Kevin Falcone
falcone at bestpractical.com
Thu Jun 19 12:19:08 EDT 2014
On Wed, Jun 18, 2014 at 03:57:23PM -0400, Len Jaffe wrote:
> How do I associate my new custom field Type "JSON_Encoded_Resource_Field" with
> the "Fill in one text area" type. Is that a key value pair in the
> CustomField_Local override?
Please note, I wasn't suggesting that you use a custom type if you go
the "only override display" route. You use the ShowComponentName
callback in Elements/ShowCustomFields to say "For these CFs, use
ShowCustomField_JSON_Encoded_Resource_Field" and then editing just
works as a normal text box.
Alternately, again, ensure your MaxValues is set properly for your
custom CF type.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140619/799d4088/attachment.sig>
More information about the rt-users
mailing list