Integrated
Integrated copied to clipboard
Selecting options based on their labels
Right now the functionality is:
select($selectName, $optionValue)
A lot of the forms I deal with have database uuids as the value of the <option>
. Since I have no idea what those uuid values are after seeding, I need to be able select based on the text inside of the <option>
tags. Is there any way to do this currently?
No, but we can add that.
I'm pretty new to contributing, so let me know if I'm doing this wrong. I have a working solution to this issue here:
https://github.com/marklj/Integrated/commit/c7c6528082f102aff9d380bc49bf0efba63ff941
If there is a better/cleaner way to achieve this, I'm totally open to any input.