michaeluno / admin-page-framework

Facilitates WordPress plugin and theme development.
http://admin-page-framework.michaeluno.jp/
Other
339 stars 71 forks source link

Feature request - Add select 2 to select options #152

Closed ghost closed 7 years ago

ghost commented 9 years ago

I love that this is a real contender for other admin frameworks out there, and would love to see that Select 2 is added into the framework.

http://ivaynberg.github.io/select2/

michaeluno commented 9 years ago

It looks like a very nice jQuery plugin. Are you interested in writing a custom field type? I can help.

ghost commented 9 years ago

I will look into the custom field type, can you point the direction and I will give it a go.

michaeluno commented 9 years ago

I've updated the 3.3.0b branch (download) and it now includes an instruction for writing a custom field type. Navigate to Dashboard -> Admin Page Framework -> Documentation -> Packages (left sidebar pane) -> FieldType.

Let me know if there is something unclear. For example field types, check out the custom field types in the third-party directory.

ghost commented 9 years ago

Thank you Michael. I will take a look.

michaeluno commented 7 years ago

The seelct2 field type has been added to the dev branch. Examples can be found via Dashboard -> APF Demo -> Custom Field Types -> Select2.