Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Tim,
I have created a new drop-down list property editor of type "UIOMatic Dropdown", how can I specify a field to use this editor?
I believe this property editor is not saved on the file system so I can't use the View option in "UIOMaticFieldAttribute".
Your documentation here shows how to create one but doesn't show an example of how it can be referenced in the code.
Your help is much appreciated.
Thanks
Ali
Comment author was deleted
Think this doc is what you need: https://uiomatic.readthedocs.io/en/stable/05.ListFieldViews/
Ah ok you want to use a prop editor as a field view? Not sure that is possible plug and play...
Yes that's correct, it would be great if there was a possibility of resuing that as field editor instead of this:
[UIOMaticField(Description = "Select the owner of the dog", View = UIOMatic.Constants.FieldEditors.Dropdown, Config = "{'typeAlias': 'person', 'valueColumn': 'Id', 'sortColumn': 'FirstName', 'textTemplate' : '{{FirstName}} {{LastName}}'}")] public int OwnerId { get; set; }
to be honest for the dropdown list is fine but for ListView is way more useful as it gives options like hiding create or delete button.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to reference property editors
Hi Tim,
I have created a new drop-down list property editor of type "UIOMatic Dropdown", how can I specify a field to use this editor?
I believe this property editor is not saved on the file system so I can't use the View option in "UIOMaticFieldAttribute".
Your documentation here shows how to create one but doesn't show an example of how it can be referenced in the code.
Your help is much appreciated.
Thanks
Ali
Comment author was deleted
Think this doc is what you need: https://uiomatic.readthedocs.io/en/stable/05.ListFieldViews/
Comment author was deleted
Ah ok you want to use a prop editor as a field view? Not sure that is possible plug and play...
Yes that's correct, it would be great if there was a possibility of resuing that as field editor instead of this:
to be honest for the dropdown list is fine but for ListView is way more useful as it gives options like hiding create or delete button.
is working on a reply...