Steps to reproduce:
- Find a has-many select field showing "Too many objects, use search box above" (or "No objects found")
- Click "Choose all -->"
- Click Save
An invalid params hash will include a field with contents like this and cause a validation error:
{
"product_ids" => [
"",
"",
"Too many objects, use search box above"
]
}
Suggested solution is to disable the "Choose all -->" link when a placeholder is present.
Steps to reproduce:
An invalid params hash will include a field with contents like this and cause a validation error:
Suggested solution is to disable the "Choose all -->" link when a placeholder is present.