Skip to content

Rename Flowbite::Input::Field to Flowbite::Input#79

Merged
koppen merged 1 commit intomainfrom
koppen/input-field-to-input
Feb 4, 2026
Merged

Rename Flowbite::Input::Field to Flowbite::Input#79
koppen merged 1 commit intomainfrom
koppen/input-field-to-input

Conversation

@koppen
Copy link
Copy Markdown
Member

@koppen koppen commented Feb 4, 2026

Rename the base Input field class from Flowbite::Input::Field to Flowbite::Input, replacing the existing module. This simplifies the namespace hierarchy and makes the class naming more intuitive.

All subclasses now inherit directly from Flowbite::Input instead of Flowbite::Input::Field. Helper components (Hint, Label, ValidationError) have been reorganized using multiline class definitions for consistency.

Co-Authored-By: Claude Haiku 4.5 noreply@anthropic.com

This matches the class hierarchy of Flowbite::InputField::* classes
better and allows Flowbite::Input to automagically appear in the
documentation.
@koppen koppen merged commit 15c624b into main Feb 4, 2026
6 checks passed
@koppen koppen deleted the koppen/input-field-to-input branch February 4, 2026 08:19
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.

1 participant