When you activate a formula in Input Select, two fields Lebel field and Value field appear, what is their purpose?
This may be a silly question, but such fields appear in Radio Input. If you select them and reload the page, they are reset to the column with the Primary key. There is no such thing in Input Select.
Label and value fields are common among dropdowns/radio/or any HTML input that requires a user to select a value among a list of possible values.
Label is what will be displayed to the user, value is the technical value that the input will store when the user has selected a choice.
[quote=“Quentin, post:3, topic:2946, full:true”] Label and value fields are common among dropdowns/radio/or any HTML input that requires a user to select a value among a list of possible values.
Label is what will be displayed to the user, value is the technical value that the input will store when the user has selected a choice. [/quote]
Got it, thanks.
What could be the reason for resetting the fields in Radio Input after refreshing the page?
A field has « no memory » of a previous state. If you want it to be preset with a value, you should use an init value in its config.
I did as you said, but the reset still happens after refreshing the page.
Maybe this is an internal problem?
The init value
should be found inside the list of value
fields you gave to the input (not a label
). Here it seems you’re using an id
as a value. Are you using the right variable?
This happens after refreshing the page.
And below is a screenshot of how I originally set it up.
Is the input inside a modal or popup?
No.
Ok, then, that’s weird. Please file a bug on support.weweb.io as it seems to be an error on our side (sorry for this )