Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#18560·budibase

[Forms] - On Change Events Should Trigger after Initial Field Interaction

Author: scoobs-mystery-bytesCreated Apr 16, 2026Updated Sep 29, 2026
Labelsenhancementformsactionslow-hanging-fruit

Feature: On Change Events Should Trigger after Initial Field Interaction

Description

When using On Change form actions (https://docs.budibase.com/docs/form-actions), fields do not trigger their configured On Change event the first time a user interacts with them if the field did not have an initial value.

Currently, the workflow behaves like this:

  1. The form loads.
  2. A field with an On Change action is empty or unset.
  3. The user selects or enters a value.
  4. Nothing happens — the On Change event does not fire.
  5. The user must remove focus, return to the field, and change the value again before the On Change event actually triggers.

This means On Change only works after the field has already been set once, which breaks expected behavior and creates inconsistent UX.

Fields should be able to trigger On Change events on the very first change, even when the field starts empty.


Use Case

As a Budibase user, I want to:

  • Trigger On Change logic the first time a user selects or enters a value.
  • Avoid requiring users to change a field twice before actions run.
  • Build forms that react immediately to user input, even on initial interaction.
  • Ensure dependent fields, validation logic, or dynamic UI updates work consistently.

Current Pain Points

  • On Change does not fire on the first interaction if the field was initially empty.
  • Users must interact with the field twice before the event triggers.
  • Breaks dynamic form logic such as:
    • Conditional visibility
    • Auto‑populating fields
    • Validation flows
    • Dependent dropdowns
  • Creates confusion and inconsistent behavior across forms.
  • Forces builders to implement workarounds or additional actions.

Expected Behavior

  • On Change should trigger immediately when the user first enters or selects a value.
  • The event should fire regardless of whether the field had an initial value.
  • No need for the user to blur the field, return, and change it again.
  • Behavior should be consistent across:
    • Text fields
    • Dropdowns
    • Number inputs
    • Any field type supporting On Change

Why It Matters

  • Ensures predictable, intuitive form behavior.
  • Eliminates unnecessary user interactions.
  • Improves dynamic form workflows and conditional logic.
  • Reduces builder frustration and removes the need for workarounds.
  • Aligns Budibase with standard form‑handling expectations across modern UI frameworks.

Additional Notes

  • This enhancement would significantly improve dynamic form behavior.
  • Applies to all field types that support On Change events.

Source: Budibase/budibase

View original on GitHubView discussion on GitHub