© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
ba_mbi_07

TagsInput not displaying

  public static function testingTag($getData)
    {
        if ($getData == "tag") {
            return TagsInput::make('testing');
        }
        if ($getData == "text") {
            return TextInput::make("testing");
        }
        return Select::make('testing');
    }


 Grid::make(3)
    ->schema(function (Closure $get) use ($form) {
          $responseForm = [];

          $select = Select::make('tagTest')
                       ->options([
                                    "tag" => "Tag",
                                    "select" => "Select",
                                    "text" => "text",

                                ])
                                    ->reactive();
          $responseForm[] = $select;
           $tagTest = $get('tagTest');
           if ($tagTest) {
          $responseForm[] = self::testingTag($tagTest);
}

     return $responseForm;
  }),
  public static function testingTag($getData)
    {
        if ($getData == "tag") {
            return TagsInput::make('testing');
        }
        if ($getData == "text") {
            return TextInput::make("testing");
        }
        return Select::make('testing');
    }


 Grid::make(3)
    ->schema(function (Closure $get) use ($form) {
          $responseForm = [];

          $select = Select::make('tagTest')
                       ->options([
                                    "tag" => "Tag",
                                    "select" => "Select",
                                    "text" => "text",

                                ])
                                    ->reactive();
          $responseForm[] = $select;
           $tagTest = $get('tagTest');
           if ($tagTest) {
          $responseForm[] = self::testingTag($tagTest);
}

     return $responseForm;
  }),

i want to testing field based on what I am selecting in tagTest select field while other field is working fine but the TagsInput is not displaying
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

TagsInput not displaying in custom page
FilamentFFilament / ❓┊help
3y ago
TagsInput belongsToMany
FilamentFFilament / ❓┊help
2y ago
TagsInput Validation
FilamentFFilament / ❓┊help
3y ago
TagsInput Copy/Paste
FilamentFFilament / ❓┊help
16mo ago