I am trying to create a custom editor for Grid. I simply want 3 textfields for a user to enter data and I will render out a button based on the 3 fields.
As a starting point, I have worked through the following but for the life of me cannot get things working.
If you make any changes that could benefit others you're more than welcome to submit a PR or if you find any issues, raise them on the project issues page.
Grid Custom Editor Issue
Hi there
I am trying to create a custom editor for Grid. I simply want 3 textfields for a user to enter data and I will render out a button based on the 3 fields.
As a starting point, I have worked through the following but for the life of me cannot get things working.
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/build-your-own-editor
The custom editor is showing up in the grid data type, and also is available in the content section as a content option.
The problem I am having is once selected, the panel on the right does not appear to be able to enter the data in the field(s).
package,manifest
HTML View
CSHTML Partial
Controller
Can anyone please enlighten me - I have created custom editors before, however cannot get this working - so so so frustrating.
What am I doing wrong ?
Thanks, Nigel
Have just found this wee gem which is 90% of what I was wanting to achieve, AND it works.
https://github.com/hemraker/grid-cta-button
Time to throw away my code and modify the above code to do what I am wanting.
Nigel
Hi Nigel
Happy to hear you can make use of it!
If you make any changes that could benefit others you're more than welcome to submit a PR or if you find any issues, raise them on the project issues page.
h5yr
/Rune
is working on a reply...