ussd-menu-builder
ussd-menu-builder copied to clipboard
Prepend a message after data invalidations
When the user is taken back to the same step due to data invalidations. It should add an invalid message.
@ErickMwazonga Did you ever find a solution to this?
@njau58, unfortunately, I did not.
You can use the defaultNext
state to handle the case where the user enters invalid data. Then in that state you can display the invalid message. See: https://github.com/habbes/ussd-menu-builder?tab=readme-ov-file#defining-states