Skip to content

Custom Instructions for All Modes field shows text 'undefined' if left empty #3443

@dsent

Description

@dsent

App Version

3.16.4

API Provider

Not Applicable / Other

Model Used

N/A

Actual vs. Expected Behavior

Empty input boxes should stay empty

Detailed Steps to Reproduce

  1. Go to Prompts
  2. Go to Custom Instructions for All Modes
  3. Clear the box if there's something in it
  4. Text 'undefined' will appear there. It is editable as text (e.g. I can press Backspace a few times and get to 'undef').

Relevant API Request Output or Error Logs

Additional Context

This is a regression in 3.16.4, probably introduced by fixing a bug with cursor jumping around in these fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions