I have a working widget, how do I use it with an editor text field

I have a working widget, how do I use it with an editor text field

obrienjobrienj Posts: 93Questions: 38Answers: 0
edited March 2017 in Free community support

I have a working widget which does address location using Google Maps (places) but I'm not sure how to use it with an editor"text" field.

Do you have an example of using a widget with an editor "text" field?

Regards,
Jim

Replies

  • allanallan Posts: 63,121Questions: 1Answers: 10,397 Site admin

    Hi Jim,

    Could you clarify what you mean by a widget please? Is it a Javascript library that attaches itself to a regular input field so that when you click the element it shows a map? If so, you can get the input element from an Editor field using the field().input() method.

    Allan

This discussion has been closed.