Legacy Dev Forum Posts

 View Only

Sign Up

Bug in collect input function

  • 1.  Bug in collect input function

    Posted 06-05-2025 19:22

    chengcheng | 2022-04-14 09:05:04 UTC | #1

    Hi

    my business request was : collect user's account number which was six digit. user can choose to press # to end the input of account number. so I set collect input component like below.

    I found a very interesting thing which I would like to consider it as bug. if I press 1234567890, I found that I can collect the input by set participate function both in success path and fail path which really confused me.

    I set in participate data in success path with successAccount parameter, in fail path with successAccount parameter.

    and get both successAccount and successAccount in participate data , both value was 1234567. is this a bug ?

    and what's the best practice for this business request ?

    best regrads, Chengcheng


    system | 2022-05-15 09:05:16 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14327