Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect problems #3735

Closed
Micke1101 opened this issue Mar 9, 2017 · 4 comments
Closed

Multiselect problems #3735

Micke1101 opened this issue Mar 9, 2017 · 4 comments

Comments

@Micke1101
Copy link

Prerequisites

  • [Y ] Can you reproduce the problem in a fresh installation of the "develop" branch?
  • [N ] Do you have any errors in the PHP error log, or javascript console?
  • [Y ] Did you check the osTicket forums?
  • [Y ] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report

Description

Unable to move focus away from multiselect field in a custom form when in internet explorer.
I found this select2/select2#3300 which suggests that it's the placeholder that does it and after making the placeholder empty in class.forms.php it seems to work
echo ' data-'.$D.'="'.Format::htmlchars($V).'"'; ?> data-placeholder="<?php /*echo $prompt;*/ ?>" <?php if ($config['multiselect']) echo ' multiple="multiple"'; ?>>

Steps to Reproduce

  1. Add a choise field to the contactform with some entries of your choise.
  2. Go to create a new user.
  3. Click on the field.
  4. Now try and go to another field.

Expected behavior: The focus should be moved to the field i want that i click on.

Actual behavior: The multiselect regains focus.

Versions

Production
osTicket Version v1.10 (901e5ea)
Web Server Software Microsoft-IIS/7.5
MySQL Version 5.7.14
PHP Version 5.6.30

Testing
osTicket Version 1.10
Web Server Software Apache/2.4.23 (Win64) PHP/5.6.25
MySQL Version 5.7.14
PHP Version 5.6.25

OS Windows 7
Affected browser Internet Explorer 11.0.9600.18537

Admin panel -> Dashboard -> Information which also additionally gives you information about you server.

Also, please include the OS and what version of the OS you're running. As well as your browser and browser version.

@ntozier
Copy link
Contributor

ntozier commented Mar 9, 2017

While I don't have an answer for you I did want to let you know that I appreciate this issue report. :)

@tekiegirl
Copy link

I'm getting this same issue with 4.0.3 :(
From what I've read in issues now closed on here it's been know about since 2015.

@ntozier
Copy link
Contributor

ntozier commented Sep 6, 2017

@jacquibo 4.0.3?

@Micke1101
Copy link
Author

@ntozier he's reffering to the version of select2 which was what was the suggested fix for this issue.

@JediKev JediKev closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants