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

define native fields - don't lose desired input type #13994

Merged
merged 4 commits into from
Dec 10, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Dec 6, 2023

Description

Don’t lose the desired input type to use with the native field added via EVENT_DEFINE_NATIVE_FIELDS.

(It is only applicable when used with \craft\fieldlayoutelements\TextField as other types are already specific. For example, you shouldn’t be able to change the type of a TextareaField or LatLongField, etc.)

Related issues

#13988

@i-just i-just requested a review from brandonkelly December 6, 2023 08:12
@brandonkelly brandonkelly merged commit 5c013f4 into develop Dec 10, 2023
@brandonkelly brandonkelly deleted the bugfix/13988-define-native-field-input-type branch December 10, 2023 11:37
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