Hi,
I’m wondering if there’s a way to make my table’s field in the ‘configure edit mode popup’ to be in read with inline editing instead
I tried setting the table tot hat option or read only, and fields always appear in edit mode
Even when i check the box ‘read only’ in each field, same result.
I understand it’s probably intended.
But is there any way to bypass that without use of field renderer?
Thank you
Dave~
I am unable to reproduce this error. Do you have any CSS or JavaScript on the page that is possibly overriding your “read with inline edit” selection? What about in the theme you are using for this page? Or possibly in the master page?
Thanks!
Karen
Hi Karen,
No i have none of those,
And here a sample page i just created to show you what i’m talking about
<tfg__collapsiblewrapper title=“New Wrapper” showheader=“yes” collapsible=“open” uniqueid=“pageLoaderWrapper” cssclass=“pageLoaderWrapper”>
</tfg__collapsiblewrapper>
{{Name}}
{{Model.label}}
Click here and popup will always be in edit mode, no matter what setting i set
Thx
Dave~
Have you looked in your component pack (“tfg” Component Pack)? What is a field type “COMBO” and what are its properties? Is there a reason you’re using the popup within a template field? Is it possible to have the popup open via clicking on a button instead?
Thanks!
Karen
Sorry, the TFG component was just there for a previous test and nothing to do with issue I’m explaining. (you can remove it, it won’t change anything)
The reason i’m using a template field, is I want to show my users, many different fields’ data for them to choose from , to manually input the data in field i show in template
A button would be very confusing as will not blend with the rest of field editor.
Can this popup be show in ‘read only mode’ without a snippet? or it’s made to be always on edit mode (the popup is clearly named: ‘Edit mode popup’, so may be intended)
Thx
Karen - Field type “COMBO” is the field type of the stock Skuid template field. The template field provides an “edit” option using either the default popup or a custom popup. Dave is using all stock features here, nothing custom from what I can tell.
Dave - In looking in to this one, it looks like skuid is forcing the context of the popup to edit mode so all components on the popup will be built in edit mode regardless of their configured value (unfortunate in your case). Also unfortunately, Skuid doesn’t provide the ability to use a custom renderer on a template field (there’s a post somewhere asking for this but I can’t find it right now). In short, there’s no declarative way to accomplish what you are after, however you do have three options:
1) Add a TFG popup controller to the custom popup and use the OnOpen snippet option. In the snippet, you’ll want to look for your field editor (give it a unique id) and change it’s mode to read. You can use the article at https://community.skuid.com/t/edit-mode-button for guidance on how to accomplish.
2) Use a standard field (any field will do) and write a custom renderer that takes care of displaying a popup, etc. You would use the create createPopupFromPopupXML api to accomplish this.
3) Submit an new idea to Skuid asking them for support of this use case
Hope this helps!
Hi!
Barry, thanks for your great ideas on how to help Dave with this!
Dave, hope one of the solutions Barry proposed works for you.
Like Barry suggested, I will also mark this an an idea for the team to consider for a future release. Community, vote it up if this is something you would also like to see!!!
Thanks!
Karen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.