FieldSetting.Pickers.Content not working for custom field type
I've created a custom field type, and trying to send the ID of a content node to my field type, so that i can render that ID when validation fails. However the Content picker acts strangely, namely:
1. When i save the form in contour after selecting a node, the selected node name changes back to "Content"
2. Nothing is passed to my custom field type.
Is this a bug in Contour? I'm running the latest version (1.1.3 i think it is - upgraded a week or so ago), on Umbraco 4.0.5.1.
Here's my code to collect the field setting:
[Umbraco.Forms.Core.Attributes.Setting("Validation Failure Message",
description = "HTML Message to display to user if they select the Not Found List Value.",
control = "Umbraco.Forms.Core.FieldSetting.Pickers.Content")]
public string ValidationFailureMessage { get; set; }
If i change it to a FieldSetting.TextField and enter a value, it comes through fine.
FieldSetting.Pickers.Content not working for custom field type
I've created a custom field type, and trying to send the ID of a content node to my field type, so that i can render that ID when validation fails. However the Content picker acts strangely, namely:
1. When i save the form in contour after selecting a node, the selected node name changes back to "Content"
2. Nothing is passed to my custom field type.
Is this a bug in Contour? I'm running the latest version (1.1.3 i think it is - upgraded a week or so ago), on Umbraco 4.0.5.1.
Here's my code to collect the field setting:
Comment author was deleted
Hi Greg,
Yeah think it's a bug, looks like it needs a small js update.
Will check and report back.
Cheers,
Tim
Thanks Tim
Any news on this one? Would really like the content picker to work properly :)
Cheers,
Mads
I second that notion....
Comment author was deleted
Hi,
Will take a look next week and will post fix here.
Regards,
Tim
Much appreciated :)
Should we count on this not being fixed in the near future?
Comment author was deleted
Looking into it this week, so should be part of the maintenance release that is coming this week
Thansk Tim, I'm glad to hear a new release is coming soon.
Comment author was deleted
Hi Mads,
I just fixed the bug, if you could test it, simply upgrade to the latest wip version http://nightly.umbraco.org/Umbraco%20Contour/1.1.4%20WIP/ ; (use build from today)
(make sure to clear browser cache after upgrade)
Cheers,
Tim
Hi Tim
Thanks a lot! Will test it asap!
Works like a charm, thanks a lot Tim! :)
Comment author was deleted
Great, glad it's working!
is working on a reply...