Opened 16 years ago
Closed 16 years ago
#12152 closed defect (bug) (fixed)
"Add tag" popup overwrites existing textbox content
| Reported by: | htoomik | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | JavaScript | Version: | 2.9.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Steps to reproduce:
I am entering tags in the Post tags section of the Edit post page and have entered multiple tags in the textbox.
I pause in the middle of a word.
A little box pops up below the textbox, suggesting existing tags that match what I have typed.
I click the tag in the popup.
Expected behaviour: the tag I clicked is added to the list, overwriting everything after the last comma in the textbox.
Actual behaviour: the tag I clicked overwrites everything I had already typed.
Example: I have typed "weather,winter,snow,sw". The popup comes up suggesting "sweden".
Expected textbox content: "weather,winter,snow,sweden".
Actual textbox content: "sweden".
Attachments (1)
Change History (6)
#3
@
16 years ago
- Keywords needs-patch added
- Milestone Unassigned → 3.0
- Owner changed from to
- Status new → accepted
I'm for a wontfix.
Suggest can only handle one delimiter, it would be find if it can support ", " and "," but in this case it's ", ". If we use "," as delimiter we get problemes with the old delimiter.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Quick Note, This doesnt occur if you use the Delimiter ", " instead of simply ",".
Changing the .suggest() js calls to use "," as the MultiDelimiter doesnt seem to help this case however. It appears that this is a bug within jquery.suggest to me.