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

Filament Table Select Laravel Package

dvarilek/filament-table-select

View on GitHub
Deep Wiki
Context7
v2.0.7

What's Changed

v2.0.6

What's Changed

Fixed selectionAction being incorrectly displayed when it was disabled.

v2.0.5

What's Changed

  • Added the option to provide additional arguments to Selection table Livewire component
  • Added the option to provide a custom Selection table Livewire component implementation
v2.0.4

What's Changed

New Contributors

v2.0.3

What's Changed

  • Fixed Alpine not loading on older versions of Filament
  • Fixed internal bulk action showing on older versions of Filament
v2.0.2

What's Changed

  • Fixed selected records in multi-select TableSelect form field being deselected when they shouldn't
  • Fixed UI problems in TableSelect form field while changing from empty state to non-empty state
  • Fixed and allowed selectionLimit to be null in multi-select (unspecified number of related records can be selected)

New Contributors

Full Changelog: https://github.com/dvarilek/filament-table-select/compare/v2.0.1...v2.0.2

v2.0.1

Fixed options sometimes not being removed properly from TableSelect form field, especially in modals Refactored TableSelect form component into async Alpine component

v2.0.0

The v2.0.0 introduces several changes to make the package more consistent and clean. Most notably, the removal of the dependency on the Select component. New features were also introduced. The plugin still only supports Filament v3.

Breaking Changes

Namespace Changes

  • The namespace for TableSelect has been changed from Dvarilek\FilamentTableSelect\Components\View\TableSelect to Dvarilek\FilamentTableSelect\Components\Form\TableSelect

TableSelect Component Changes

  • The TableSelect component has been redesigned and no longer requires a suffix action to select related records using a table.
  • It's no longer possible to select records from a dropdown, as that option has been removed.
  • The TableSelect component no longer extends the Select component—it only borrows some of its functionality. As a result, several methods are no longer available, mainly those related to options and searching. See List of Unavailable Methods below.
  • Several methods have been renamed in favor of better consistency within the plugin. See List of Altered Methods below.
  • Limiting the number of options that can be selected is done with maxItems() instead of optionsLimit().
  • The create option action can only be displayed in selection modal.

New Features

Severing the Select dependency created space for implementing a custom view with more customization options.

Customizable Badges & Different Look

You can customize the color and icon of selected options. This can be done for all options or specific options with a callback. This feature is only available when multi selection is enabled.

The suffix action got replaced by a link action located below the component. The position can be configured. Alternatively, it is possible to open the selection modal right away when clicking on the form input.

customizable-options

Upgrading

List of Altered Methods

  • modifySelectionAction() method has been renamed to selectionAction()
  • modifySelectionTable() method has been renamed to selectionTable()
  • modifySelectionConfirmationAction() method has been renamed to selectionConfirmationAction()
  • shouldCloseOnSelection() method has been renamed to shouldCloseAfterSelection() (the optional argument in selectionConfirmationAction() has also been renamed)*
  • selectionModalCreateOptionActionPosition() method has been renamed to createOptionActionPosition() (and now additionally accepts a callback)*

List of New Methods

Selection Action

  • selectionActionAlignment()
  • triggerSelectionActionOnInputClick()

Option Configuration

  • optionColor()
  • optionIcon()
  • optionSize()
  • optionIconSize()
  • getOptionColorFromRecordUsing()
  • getOptionIconFromRecordUsing()
  • optionExtraAttributes()

List of Unavailable Methods

Native to Plugin.

  • modifySelectionModalCreateOptionAction() method has been removed (use createOptionAction() now instead`)*
  • hasCreateOptionActionInSelectionModal() method has been removed
  • createOptionActionOnlyVisibleInSelectionModal() method has been removed

Methods removed because of removing Select dependency

  • boolean() method has been removed
  • manageOptionActions() method has been removed
  • manageOptionForm() method has been removed
  • editOptionModalHeading() method has been removed
  • editOptionAction() method has been removed
  • getEditOptionActionForm() method has been removed
  • hasEditOptionActionFormSchema() method has been removed
  • editOptionForm() method has been removed
  • updateOptionUsing() method has been removed
  • getUpdateOptionUsing() method has been removed
  • getEditOptionActionName() method has been removed
  • getEditOptionAction() method has been removed
  • getEditOptionActionFormData() method has been removed
  • fillEditOptionActionFormUsing() method has been removed
  • getCreateOptionActionName() method has been removed
  • getEditOptionModalHeading() method has been removed
  • getSearchResultsUsing() method has been removed
  • transformOptionsForJsUsing() method has been removed
  • searchable() method has been removed
  • position() method has been removed
  • maxItemsMessage() method has been removed
  • optionsLimit() method has been removed
  • getPosition() method has been removed
  • getSearchColumns() method has been removed
  • getSearchResults() method has been removed
  • getSearchResultsForJs() method has been removed
  • getOptionsForJs() method has been removed
  • getOptionLabelsForJs() method has been removed
  • isSearchable() method has been removed
  • hasDynamicOptions() method has been removed
  • hasDynamicSearchResults() method has been removed
  • getOptionsLimit() method has been removed
  • getMaxItemsMessage() method has been removed
  • forceSearchCaseInsensitive() method has been removed
  • isSearchForcedCaseInsensitive() method has been removed
  • refreshSelectedOptionLabel() method has been removed
  • allowHtml() method has been removed
  • isHtmlAllowed() method has been removed
  • native() method has been removed
  • isNative() method has been removed
  • preload() method has been removed
  • isPreloaded() method has been removed
  • noSearchResultsMessage() method has been removed
  • searchDebounce() method has been removed
  • searchingMessage() method has been removed
  • searchPrompt() method has been removed
  • searchLabels() method has been removed
  • searchValues() method has been removed
  • getNoSearchResultsMessage() method has been removed
  • getSearchPrompt() method has been removed
  • shouldSearchLabels() method has been removed
  • shouldSearchValues() method has been removed
  • getSearchableOptionFields() method has been removed
  • getSearchDebounce() method has been removed
  • getSearchingMessage() method has been removed
  • disableOptionWhen() method has been removed
  • getEnabledOptions() method has been removed
  • isOptionDisabled() method has been removed
  • hasDynamicDisabledOptions() method has been removed
  • disableOptionsWhenSelectedInSiblingRepeaterItems() method has been removed
  • fixIndistinctState() method has been removed
  • selectablePlaceholder() method has been removed
  • disablePlaceholderSelection() method has been removed
  • canSelectPlaceholder() method has been removed
  • extraInputAttributes() method has been removed
  • getExtraInputAttributes() method has been removed
  • getExtraInputAttributeBag() method has been removed
  • loadingMessage() method has been removed
  • getLoadingMessage() method has been removed
  • nestedRecursiveRules() method has been removed
  • getNestedRecursiveValidationRules() method has been removed
  • options() method has been removed
  • getOptions() method has been removed
  • extraAlpineAttributes() method has been removed
  • getExtraAlpineAttributes() method has been removed
  • getExtraAlpineAttributeBag() method has been removed

Documentation

Documentation has been updated to be up to date and to include all new features.

v1.1.0

fix: get selection table query from relationship feature: allow the option to view related records when the component is disabled

v1.0.1
v1.0.0
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.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
babenkoivan/elastic-client
innmind/static-analysis
innmind/coding-standard
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit