Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

84
Views
How to construct an autocomplete page field based on Pint's units and prefixes

I want to be able to enter "Mpa" in a page field and have "MegaPascal" returned as an autocomplete selectable item using Pint's ureg units and prefixes. The main issue is that MegaPascal isn't an actual ureg element, it's the "Mega" prefix combined with the "Pascal" ureg unit. I assume that pint's ureg unit names and abbreviations can be loaded into a Javascript arrays via an api url when the page loads These arrays could then be searched JQuery UI autocomplete using a function as the source. But I can't see how to extract Pint's prefixes from Pint or how to integrate them into the autocomplete source function lookup. My current solution is to load all pint units and abbreviations into a Django model and use django's autocomplete function.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!