?
avatar rbuelund
rbuelund
6 Jun 2020

Steps to reproduce the issue

Create two custom modules with positions bubletopright and bubletopleft.
Create a third custom module with position bublebottomright

Expected result

Posible to create the new third module in new position

Actual result

Not posible to create a module in new position - one of the other positions is selected all the time!

System information (as much as possible)

Fresh instal of Joomla 4 beta

Additional comments

avatar rbuelund rbuelund - open - 6 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jun 2020
avatar chmst
chmst - comment - 6 Jun 2020

I cannot reproduce this. Are you sure that you have pressed the enter-button to complete the input of the new position name?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29459.

avatar brianteeman
brianteeman - comment - 6 Jun 2020

I can confirm this. It is the same problem everywhere that we have the ability to create new inside a select eg tags, categories

The problem is that if you have created "banana" then the script wont let you create "banana2" because it has matched with "banana"

avatar brianteeman
brianteeman - comment - 6 Jun 2020
avatar Fedik
Fedik - comment - 6 Jun 2020

hm, that can be tricky, need to look what Choices offer for it

avatar brianteeman
brianteeman - comment - 6 Jun 2020

I "think" that part is joomla js not choices

avatar infograf768 infograf768 - change - 7 Jun 2020
Title
Problem creating new module positions
[4.0] Problem creating new module positions
avatar infograf768 infograf768 - edited - 7 Jun 2020
avatar Fedik
Fedik - comment - 8 Jun 2020

well, Choices offers nothing ?
in past we had some code to handle this case, but now it not work, something internally changed in choices.js

need some time

avatar chmst
chmst - comment - 8 Jun 2020

The trick is (since always in J3). to move the mouse out of the select and then back to the inputfield.

avatar rbuelund
rbuelund - comment - 9 Jun 2020

But a trick is not an intuitive solution. I think it is important to make a real fix for this. But I have no insight into the choices package. Obviously there is some comparising going on that is not as strict as it should be.

avatar Fedik
Fedik - comment - 27 Jun 2020

please test #29793

The trick is (since always in J3). to move the mouse out of the select and then back to the inputfield.

this trick also not work in J4, but I have add similar behavior in #29793

avatar Quy Quy - change - 27 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-27 15:01:16
Closed_By Quy
avatar Quy Quy - close - 27 Jun 2020

Add a Comment

Login with GitHub to post a comment