Skip to content

Conversation

@JayGeorge
Copy link

Pushing tags on blur has some side effects; for example, if you're in a tag fieldtype and in the middle of typing a tag, then switch to a different browser tab, whatever tag you're typing will be submitted.

So this is undesirable behaviour, unless it's needed.

JayGeorge and others added 2 commits November 20, 2025 16:15
Pushing on blur has some side effects, for example if you're in middle of typing in a tags fieldtype, then switch to a different browser tab, whatever tag you're in the middle of typing will be submitted
Copy link
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using combobox with multiple="false" (like a select fieldtype) it's really unclear whether your value has been accepted or not when blurring.

When you blur on multiple, your input disappears.
When you blur on single, your input stays there.

…ccepted (on both single and multiple select options) so it's clearer whether your value has been accepted or not when blurring.
@JayGeorge
Copy link
Author

I think this behaviour is actually the same on master, but I've pushed a change that should make the single combobox behaviour the same as the multiple combobox behaviour

@jasonvarga
Copy link
Member

I'm a bit confused about what's happening here.

Now when you have a select field with multiple: false, you can't select anything at all.

Let's leave this alone for now, and once Storybook is ready, we can make some tests to handle all the cases a bit better.

@jasonvarga jasonvarga closed this Nov 24, 2025
@jasonvarga jasonvarga deleted the remove-push-on-blur-for-combobox-tags branch November 24, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants