You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually, the picker and radio buttons in other platforms associate an index to the picked element, so, the user does not need to rely on a string to make the link:
index = key, id, etc.
name = string
in many cases, this does not mean a major problem, but if I use a string I may find convoluted, error prone situations.
So, let's return an object, with complementary information, like a key, an index or anything defined in the template.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Usually, the picker and radio buttons in other platforms associate an index to the picked element, so, the user does not need to rely on a string to make the link:
index = key, id, etc.
name = string
in many cases, this does not mean a major problem, but if I use a string I may find convoluted, error prone situations.
So, let's return an object, with complementary information, like a key, an index or anything defined in the template.
Beta Was this translation helpful? Give feedback.
All reactions