I have a scenario where I have to enter all values of a storage in drop down through Polkadot JS UI.
Suppose I have a pallet TestPallet
and an extrinsic rate
. There are two storage Items
and Rating
.
If a user selects TestPallet
>> rate
, I want to show all the items stored in Items
so that user can select and rate.
In Items
, items are stored with an id. So when user selects any item, I can store in Rating
with ItemId
.
Can someone please help me to provide the solution? Thanks in advance.