Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Form Components Laravel Package

rawilk/laravel-form-components

A set of reusable Blade form components for Laravel that make building consistent forms quick and clean. Includes inputs, selects, checkboxes, radios, buttons, errors, and styling-friendly markup, with flexible config and easy customization.

View on GitHub
Deep Wiki
Context7
v8.1.4

What's Changed

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.1.3...v8.1.4

v8.1.3

What's Changed

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.1.2...v8.1.3

v8.1.1

What's Changed

  • Bump up custom-select z-index to 30 by default
  • Make custom-select z-index configurable via the css variable --custom-select-menu-z-index

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.1.0...v8.1.1

v8.0.4

What's Changed

  • Ensure a value is always rendered onto checkbox/radios if one is set

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.0.3...v8.0.4

v8.0.3

What's Changed

  • Prevent textarea from resizing when hidden
  • Prevent false positives for "has children" checks on select options when an empty collection is used for children

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.0.2...v8.0.3

v8.0.2

What's Changed

  • Fix styling for inline form groups

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.0.1...v8.0.2

v8.0.1

What's Changed

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v8.0.0...v8.0.1

v8.0.0

What's Changed

  • Laravel 10 support by @magarrent in https://github.com/rawilk/laravel-form-components/pull/73
  • Structure updates by @rawilk in https://github.com/rawilk/laravel-form-components/pull/74
  • NPM: Bump @babel/core from 7.20.12 to 7.21.0 by @dependabot in https://github.com/rawilk/laravel-form-components/pull/80
  • Config/component update by @rawilk in https://github.com/rawilk/laravel-form-components/pull/81
  • Bump creyD/prettier_action from 3.0 to 4.3 by @dependabot in https://github.com/rawilk/laravel-form-components/pull/78
  • Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rawilk/laravel-form-components/pull/75
  • Dark mode support added
  • Custom Tailwind plugin to support different colors for switch-toggle added
  • JS assets built using Rollup now
  • Directives [@fcScripts](https://github.com/fcScripts) and [@fcStyles](https://github.com/fcStyles) removed
  • Directive [@fcJavaScript](https://github.com/fcJavaScript) renamed to [@fcScripts](https://github.com/fcScripts)
  • Self-closing tag <fc:scripts /> added as an alternative to [@fcScripts](https://github.com/fcScripts)
  • New TimeZoneRegionEnum added
  • TimeZoneRegion support class deprecated
  • Added CSS variables for common input styling modifications
  • Simplified component markup by moving Tailwind CSS classes to external CSS
  • Revamped JavaScript for custom-select, tree-select, date-picker, quill, and filepond components
  • Added support for automatically resizing textareas
  • Added $customSelect, $customSelectOption, $treeSelect, $treeSelectOption, and $datePicker alpine magic properties
  • Changed file-upload component to use a native file input instead of custom button
  • Added support for native progress bar for file-upload progress
  • Changed form group labels to automatically find and focus custom-select and quill inputs within the form group with no custom configuration now
  • Added a new defaults config key for common settings to modify on components
  • Removed support for automatically pulling in 3rd-party cdn assets
  • Added new trailingInlineAddon to addons
  • Removed PublishCommand
  • Changed up how JavaScript options and callbacks are defined for components like quill, filepond and date-picker

New Contributors

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.6...v8.0.0

v7.1.7

What's Changed

  • Add Laravel 10.x support

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.6...v7.1.7

v7.1.6

Fixed

  • Fix css minification issue in custom-select.css

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.5...v7.1.6

v7.1.5

Updated

  • Update blade heroicon references for v2
v7.1.4

Updated

  • Update blade heroicon references for v2
v7.1.3

Fixed

  • Prevent checkbox/radios from emitting the input event in custom selects to prevent it interfering with their toggle handlers on each option

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.2...v7.1.3

v7.1.2

Fixed

  • Provide better x-model support for switch-toggle component
  • Defer to \Illuminate\Support\Js::from() for setting on/off values for switch-toggle component

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.1...v7.1.2

v7.1.1

Updated

  • Add text alignment dropdown to quill editor toolbar by default

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.1.0...v7.1.1

v7.1.0

Added

  • Add Quill Rich Text Editor component - #53

Updated

  • Update vendor cdn versions in config

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v7.0.6...v7.1.0

v7.0.6

Fixed

  • Prevent JavaScript errors on custom select when calling .some on non-arrays
v7.0.5

Fixed

  • Handle null value updates better when a browser event is emitted to custom select components
v7.0.4

Changed

  • Wrap each css file in a [@layer](https://github.com/layer) components
  • Update required tailwind colors

Fixed

  • Force custom/tree select null values to get updated when using wire:model.defer
v7.0.3

Fixed

  • Use correct label on multi custom selects for selected option
v7.0.2

Fixed

  • Fix typo in custom select x-data declaration
  • Use langPath() helper to publish lang files to correct directory
v7.0.1

Fixed

  • Fix keyboard nav on custom select JS errors when no name is provided
  • Make timezone select compatible with new version of custom select
v7.0.0

Added

  • Add new <x-tree-select> custom select component
  • Add new <x-tree-select-option> component
  • Add new <x-custom-select-option> component
  • Add livewire version of custom select component
  • Add livewire version of tree select component
  • Add various helper components for custom/tree select components

Changed

  • Breaking Change: Bump minimum Laravel version to 8.70
  • Breaking Change: Move styles into resources/css directory, which will require a different directory and file to import into stylesheets
  • Breaking Change: Change textField prop on customSelect to labelField
  • Breaking Change: Change defaults of valueField and labelField on custom select component to id and name, respectively
  • Breaking Change: Rename min and max props on custom select to minSelected and maxSelected, respectively
  • Breaking Change: Require a flat array of options on custom select, even if they contain "opt groups"
  • Breaking Change: Remove wire-listeners from custom select
  • Add various new props to custom select component
  • Change default styling of custom select component
  • Add Laravel 9.* compatibility
  • Add PHP 8.1 compatibility
  • Update Alpine JS CDN version in config

Fixed

  • Various bug fixes in custom select and other components
v7.0.0-alpha.2

Not a stable release! Functionality and api subject to change. Use at your own risk.

Changed

  • Add required flag to tree-select component
  • Move enter key listener to tree-select search input field
v7.0.0-alpha.1

Not a stable release! Functionality and api subject to change. Use at your own risk.

Added

  • Add Livewire tree-select component

Changed

  • Move all styles into a css directory (breaking)
  • Make labels for custom select inputs focus their corresponding custom select element when clicked on (wip)
v6.0.2

Fixed

New Contributors

Full Changelog: https://github.com/rawilk/laravel-form-components/compare/v6.0.1...v6.0.2

v6.0.1

Updated

  • Add support for x-model on inputs
  • Add onOpen slot to date picker component
v6.0.0

Added

  • Register all components under a the form-components:: namespace

Fixed

  • Fix button display issues when passing values manually to custom-select (#34)

Updated

  • Update asset versions in the config
  • Reference all form-components components using <x-form-components::> instead of <x-dynamic-component>
  • Add better support for multi custom-select in non-livewire forms (#34)

Changed

  • Switch from rollup to laravel-mix for compiling package JavaScript

Breaking changes

  • Increase minimum Laravel version to 8.56
  • Remove ability to override component views in the config (in favor of just publishing the package's views)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky