Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)XF
xfebruary @lemmy.world
Posts 1
Comments 1
[Help] [Solved] Filtering list by initial letter results in selectOne errors
  • Bless, thank you for your wisdom! That seems to have patched it -- is there a way to mark this post as solved? I suppose this is a more foolproof way of negotiating user input if it isn't an actual letter, for example.

  • [Help] [Solved] Filtering list by initial letter results in selectOne errors

    Hi all! Total Perchance newbie here, so I sincerely apologize if this is obvious/already been answered. Been having fun tinkering with it, but got this weird bug...

    I've got a bit of a scuffed loop set up to select a word for each letter input by the user. However, the output of filterList() isn't happy with my using selectOne on it, producing an extra two undefineds for some strange reason. I don't know if it's maybe related to the way I'm filtering the list or some other bug? Anyone know why this is happening/a better way to do it?

    Thanks for all y'all's help!

    4