Project

General

Profile

Actions

Defect #901

closed

Enum select box doesn't work with IE

Added by Ondřej Kopr over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Frontend
Target version:
Start date:
01/10/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

On IE doesn't works enum selectbox. Options are not filled and then I can't choose any option.

Tested IE version: 11.0.9600.18837

Please check enum select box behavior on IE and then fix this bug.

Actions #1

Updated by Ondřej Kopr over 6 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Ondřej Kopr to Alena Peterová
  • % Done changed from 0 to 90

I checked this behavior on Internet explorer 11.786.15063.0 and I receive same bug as above.

Bug description:
https://support.microsoft.com/en-in/help/3041186/internet-explorer-11-may-return-incorrect-javascript-typeof-result-for

After longer debug and check some stackoverflow issues I finally resolved this by add simple lodash function isSymbol https://lodash.com/docs/4.17.4#isSymbol

Inner function:

type == 'symbol' || (type == 'object' && value != null && getTag(value) == '[object Symbol]')

get tag function: https://github.com/lodash/lodash/blob/master/.internal/getTag.js

Commit (develop): https://github.com/bcvsolutions/CzechIdMng/commit/afe48c6ea698861f14322527eb8bd6c0842dc71d

Please Alča could you make a test on your windows system with IE? Thank you :)

Actions #2

Updated by Ondřej Kopr over 6 years ago

  • Target version set to Garnet (7.7.0)

I just check our FE app a I look up for another places where we use typeof with Symbol compare and I fix all another places (only enum select box)

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/08d33e0daa9629ad0a588ac607d9247a0ef5a0c0

Actions #3

Updated by Alena Peterová over 6 years ago

  • Assignee changed from Alena Peterová to Ondřej Kopr

I checked it on Windows 7 and IE 11.0.9600.17843 and it works well. Thank you!

BTW: Browser sync works for IE<->Firefox (it really works!), but it doesn't work for choosing values in select boxes. But this doesn't work for Chrome<->Firefox either.

Actions #4

Updated by Alena Peterová over 6 years ago

  • Subject changed from Enum select box doesn't works with IE to Enum select box doesn't work with IE
Actions #5

Updated by Ondřej Kopr over 6 years ago

  • Status changed from Needs feedback to Closed
  • % Done changed from 90 to 100

Thank you for your feedback :)

Actions

Also available in: Atom PDF