Select field with modifyQueryUsing doesn't validate client input

Hello,

When using a select dropdown with an associated relationship, if I modify the query using its options, the changes are appropriately reflected in the dropdown. However, if I manually input an 'option' ID that isn't present in the scoped query, the system still accepts it. How can I prevent this or is there a workaround?

Thank you.
Was this page helpful?