nathan
modal scroll bug - can't select text and jumps to top when clicked.
I have a relation manager displaying a table with an action that will open that record's details in a modal window when clicked.
That modal scrolls correctly. However, I'm unable to select any text in the modal window and after scrolling down a bit, when I click, it jumps me to the top of the modal window. I've gone through and removed all the infolist elements so it's a single modal window with a little bit of text. I can't double-click and select any text and it jumps to the top of the modal window when I click.
16 replies
Form Select - Search Across Relationship
I have 3 resources.
- OfficeResource (Model: Office)
- OfficeAddressResource (Model: OfficeAddress)
- CountryResource (Model: Country)
I have a form on the OfficeResource with a select field. This select field searches the OfficeAddress table and allows for the selection of an address. The OfficeAddress model has a
hasone
relationship with the model Country.
Problem: On my OfficeResource form, I want to search by the address, city, and country.common_name in the address select form element. How would I accomplish this?
(I would love to add something like ->searchable(['street_address', 'city', 'country.common_name'])
But I know that's not possible.
Here is the select element on the OfficeResource form:
5 replies