gesinn-it-pub / mediawiki-extensions-PageForms

Fork of MediaWiki extension PageForms that aims to simplify contribution through hosting on GitHub instead of Gerrit, improved quality through better test coverage (to be done) and continuous integration.
Other
2 stars 4 forks source link

Search field for tree input #46

Closed krabina closed 1 year ago

krabina commented 1 year ago

The tree input field is very useful to select categories (or other items) form hierarchichal structure. However, if iths structure gets very large, it would be great to have a search box to search a term within this structure. image

Therefore I propose to have an (optional) search box above the hierarchy and another configuration option to have the initial structure collapsed. So instead of the default, which is everything epxanded and no search field, you could write

{{{field|Hierarchie|input type=tree|height=400|top category=Cities|delimiter=;|collapsed|search}}}