Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide empty sections in fieldtype selector & hide slug for forms #4948

Merged
merged 3 commits into from
Jan 3, 2022

Conversation

jesseleite
Copy link
Member

Before:

CleanShot 2021-12-21 at 16 04 53

After:

image

@jasonvarga jasonvarga changed the title Don't show new slug fieldtype in fieldtype selector for frontend forms Hide empty sections in fieldtype selector & hide slug for forms Jan 3, 2022
@jasonvarga jasonvarga merged commit 659e57f into 3.2 Jan 3, 2022
@jasonvarga jasonvarga deleted the fix/form-fieldtype-selector branch January 3, 2022 20:45
@sjclark
Copy link
Contributor

sjclark commented Feb 9, 2022

@jesseleite I used to use the slug field for all my horizontal rules (for field groupings) in my forms 😄 damn you for foiling my hacks!
Screen Shot 2022-02-09 at 11 36 09 am

No worries \Statamic\Fieldtypes\Slug::makeSelectableInForms(); works

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.

3 participants