Skip to content
TORNLIFE More

Bazaar price input

Started by vincentys [2084781] on in Bugs & Issues.

3 replies · 69 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 4 / 4 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
4
Discussion span
→
People posting
4
Likes on archived posts
5
Posts by staff, officers and moderators
2
Authority score
56 / 100
Historical score
41 / 100
Story score
42 / 100
Engagement score
43 / 100

Most-liked replies

vincentys [2084781]

In the bazaar manage items page, the price input doesn't seem to be working properly. I've tried checking the problem in incognito mode but it didn't help. 

 

Issue #1:

The period (.) doesn't appear for the first press.
Steps to recreate:

  • after adding item(s) to bazaar, navigate to "Manage items" page
  • in the price input, try to insert something in the thousands or millions using the shorthand method, eg. "1.1k" or "12.5m"

 

Issue #2:

After inserting a wrong text/format in the input, it will be replaced by "NaN" which is unable to be deleted by pressing "backspace" key. The only way to delete it is by selecting all the text within the input then press "backspace" or "del" keys or by replacing it with another number/text

Steps to recreate:

  • in the price input, insert any number, followed by 3 periods (.)
  • first press of the period character will not show anything
  • second press will add 1 dot in the input field
  • third press will cause the input replaced by the text "NaN"
  • now try to delete the word with "backspace" key without selecting the whole "NaN" text

 

[image: snipboard.io]

McNougat [3337053]

I second this but not seen in as much detail about period (.) But have seen pressing any incorrect key will come up with NaN only way I got rid of it was to refresh page. 

 

I'd suggest looking at the code,  I presume it would be simular to any other money input box just slight error. 

 

Hope you manage to fix soon