froot Posted February 11, 2021 Posted February 11, 2021 I need a field that behaves somewhat like the native image tags field. What I mean is you can predefine values in the field settings, and then, when editing a page with that field, you can select those predefined values but also enter custom values. Is that something that exists already or should I go ahead and try to create a custom field type?
Robin S Posted February 11, 2021 Posted February 11, 2021 You can hook the render of a normal text inputfield and use a <datalist> element. Code example here: 1
Macrura Posted February 12, 2021 Posted February 12, 2021 Awesomplete? https://processwire.com/modules/text-input-awesomplete/ 2
froot Posted February 12, 2021 Author Posted February 12, 2021 thanks @Macrura It's a good start, but still not ideal. Like I said, technically pretty much exactly like the image-tags functionality when you check User selects from list of predefined tags + can input their own So it's possible in theory, I just need it to work for an only-text-field.
Macrura Posted February 14, 2021 Posted February 14, 2021 this one still works great for me: but appears to have been removed from the modules directory. I'm using it on current sites.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now