• Not sure if this is a good place to report this and it’s not huge but should probably be fixed. When editing a radio button option with a customized value on the options, if I put cursor focus on the label of that option and then move the focus away, the value box actually changes to be the label value with spaces replaced by a -. This box shouldn’t change, essentially ever. I guess maybe an autofill if it’s blank. But if I hadn’t noticed the change I might have hit save, say, while on the settings tab and then my value wouldn’t have been what the rest of my code expected anymore.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @libhart

    I hope you are doing well.

    This is actually an expected behaviour to prevent some issues with conditionals as we shouldn’t have blank spaces in the value but we can do have with Labels,

    However, Forminator allows you to choose the data to store https://monosnap.com/file/fqfAPRUUSsx5RkRv18ygOElXauvqDy

    Best Regards
    Patrick Freitas

    Thread Starter libhart

    (@libhart)

    Thank you for the reply Patrick. I understand that the values can’t have blank spaces, but the value is changed regardless of it being valid and this seems like not such a good idea. For instance, I have a Label that’s “Credit Card” and the value is “online”, both totally valid. If I focus away from the Label input box, the value field is changed to “Credit-Card”. Why change a valid and legal value? Why not check first and only change it if it’s invalid? I’ve got hooks that count on these values and the possibility of them changing even though they’re completely fine is why I posted. Thanks again.

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @libhart,

    I understand your concern and created a task for this in plugin backlogs so that our developers can review this and improve this behaviour.

    Thank you for bringing this to our notice.

    Kind Regards,
    Nebu John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slight bug in radio button editing’ is closed to new replies.