Skip to content

Refactor widget base and add dropdown for exposed view filter.#31

Open
jazzdrive3 wants to merge 1 commit intodrupal-fancy:8.x-1.xfrom
jazzdrive3:view-filter-refactor
Open

Refactor widget base and add dropdown for exposed view filter.#31
jazzdrive3 wants to merge 1 commit intodrupal-fancy:8.x-1.xfrom
jazzdrive3:view-filter-refactor

Conversation

@jazzdrive3
Copy link
Copy Markdown

Previously, if you added an exposed filter on a view, it would be a textfield. Not great UX. This makes it a dropdown, populated by all of the view modes of the parent entity.

We can't limit it based on field settings. This could be improved, however, if the view mode restrictions moved from the field instance settings, to the field storage settings.

@yannickoo
Copy link
Copy Markdown
Member

Hey @jazzdrive3, that's really cool! Will look into it soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants