Idea about atSelectOption handles
Permalink
Wouldn't it be a good idea to have 'handles' in the atSelectOption table?
getByID is tricky, because the ID can change if you for example, delete an option and re-add it. Or reinstall a package.
getByValue is tricky, because a user can change the select option values.
At the moment I don't know what to use. If I want to make a conditional statement in the code, I don't want it to be based on the actual values and neither based on an ID.
Any thoughts?
getByID is tricky, because the ID can change if you for example, delete an option and re-add it. Or reinstall a package.
getByValue is tricky, because a user can change the select option values.
At the moment I don't know what to use. If I want to make a conditional statement in the code, I don't want it to be based on the actual values and neither based on an ID.
Any thoughts?