Page MenuHomePhabricator

[frontend][home] Submit button not always greyed out when it should be
Closed, ResolvedPublicBUG REPORT

Description

Sometimes the submit button doesn't go grey when it should (i.e., when there's no value in the input bar). I have no idea why this is happening; it seems that it can potentially happen to any field_type, as refreshing the page repeatedly brings up different results.

submit_button_bug.jpg (256×1 px, 34 KB)

Event Timeline

Had some time to take a closer look at this, and what's happening is that sometimes missingFieldValue is acquiring a value.

submit_button_bug2.jpg (398×1 px, 121 KB)

I'm not sure why this is happening, but I was able to solve the problem by manually setting its value to null in skiptoNext()

PR at: https://github.com/wikimedia/toolhunt-ui/pull/55

NicoleLBee changed the task status from Open to In Progress.Mar 26 2023, 11:41 AM
NicoleLBee claimed this task.
NicoleLBee moved this task from Backlog to In review on the Toolhunt board.