I can send you the source-files, and a little setup if you want.
I do have Git(Hub), but I don’t have the time to maintain the code, react on bugs / issues / etc…
So I can hand it over “as is”, if you want?
And maybe place it on a general repository?
It’s also not complete fool-proof; when you enter a non-existing icon, nothing is showed
It would be nice to have a picker, with all the icons - but I wanted it “quick and dirty”, plain and simple…
And I had some issues after “saving” the page; I don’t know exactly what happens, when you press “save” - but it looks like Kirby is refreshing all items using Ajax, or so…
…so I had to implement a timer, which refreshes the selected icon-field.
Like I said; it works perfect - for me… coded it in less than 10 minutes, and I will be happy to hand it over.
Maybe a genius can fine-tune it
By the way; I also added some custom CSS to the field (not showed in the animation), so a new icon is highlighted for a second, making clear the little thing is visually updated.
You can also simply post the code here in syntax highlighted code blocks (three backticks and the name of the language at the front, three backticks at the end of the block).
It’s fine if the code isn’t perfect, but I think it can be a good starting point for other users.
Like I said, it’s really a quick implementation of a very basic idea…
It works for me, so I’m happy with it - but I coded it in less than 10 minutes, so please - don’t expect a full-blown Font Awesome Picker Gallery
It’s my first custom field (besides the Revolution Slider implementation) - and I created it, copy / pasting an existing field, and modifying it afterwards.
Thank you @lukasbestle and @1n3JgKl9pQ6cUMrW.
Yes 1n3JgKl9pQ6cUMrW, if you still have the code, I will be very happy to have it !
Even if its not working, I will manage, its just to have the starting point.