×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Foreign Key - Auto Search Fields
Gordon Sutherland
New Member
Posts: 4
pred 4 rokmi 2 týždnami - pred 4 rokmi 2 týždnami #9802
od Gordon Sutherland
Foreign Key - Auto Search Fields bolo vytvorené Gordon Sutherland
I have a foreign field which as I start to type pulls back a first and last name related to what I type in. This works perfectly on a desktop.
On a mobile device this functions differently (by design I believe), i am simply given a list of all available options. This isn't suitible as there are so many.
I want the same functionality as the desktop on a mobile. How to adjust?
I've attached an image if this helps to explain what I mean
G.
On a mobile device this functions differently (by design I believe), i am simply given a list of all available options. This isn't suitible as there are so many.
I want the same functionality as the desktop on a mobile. How to adjust?
I've attached an image if this helps to explain what I mean
G.
Posledný krát upravené:pred 4 rokmi 2 týždnami Gordon Sutherland
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Gordon Sutherland
New Member
Posts: 4
pred 4 rokmi 2 týždnami #9803
od Gordon Sutherland
Odpoveď od Gordon Sutherland na tému Foreign Key - Auto Search Fields
I've resolved this issue... Unfort it requires a JS hack. as detailed here:
stackoverflow.com/questions/22016578/cho...k-on-mobile-browsers
AbstractChosen.browser_is_supported function does not allow you to use this plugin on mobile devices and internet explorer so you can hack this by yourself.
Find the below lines in chosen.jquery.js and comment this code. Now the chosen plugin will work on mobile devices.
if (!AbstractChosen.browser_is_supported()) {
return this;
}
if (!AbstractChosen.browser_is_supported()) {
return;
}
stackoverflow.com/questions/22016578/cho...k-on-mobile-browsers
AbstractChosen.browser_is_supported function does not allow you to use this plugin on mobile devices and internet explorer so you can hack this by yourself.
Find the below lines in chosen.jquery.js and comment this code. Now the chosen plugin will work on mobile devices.
if (!AbstractChosen.browser_is_supported()) {
return this;
}
if (!AbstractChosen.browser_is_supported()) {
return;
}
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.046 sekúnd