Skip to content

Bug: Tool Icon Source accepts invalid values and lacks default fallback icon #6382

@sahil2448

Description

@sahil2448

Describe the bug

In the Tools screen, the Tool Icon Source field accepts any random string (non-URL) and still allows saving the tool.

This causes broken or missing icons in the Tools list/card views.

Also, when Tool Icon Source is left empty or invalid, there is no consistent default icon fallback shown for the tool.

To Reproduce

  1. Go to Tools.
  2. Click Create.
  3. Fill the required fields:
    • Tool Name
    • Tool Description
  4. In Tool Icon Source, enter a non-URL value, for example: abc123.
  5. Click Add/Save.
  6. Observe that the tool is saved successfully.
  7. Return to the Tools list/card view and observe that the icon rendering is broken or empty.

Expected behavior

  • Tool Icon Source should be optional.
  • If empty: tool save should succeed and the UI should show a default fallback icon.
  • If provided: the value should be validated as a valid http / https URL.
  • If invalid: the user should see a clear validation error, and saving should be blocked until corrected.

Screenshots

Image Image

Flow

N/A (UI-level Tools management issue)

Use Method

pnpm start

Flowise Version

No response

Operating System

Windows

Browser

Other

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions