Skip to main content
Open

Field prefix and suffix

Related products:Software FactoryUniversal GUIUI/UX
  • October 31, 2024
  • 4 replies
  • 42 views

Freddy
  • Thinkwise Local Partner Brasil
  • 531 replies

It’s sometimes unclear for a user what to fill in. Especially when it comes to amounts, units, numbers, percentages.. They always have an accompanying unit. Would be great to have a input type like the upload where you can select the unit field to be prefixed or suffixed. 
 

Add prefix-text and suffix-text attributes to text fields to display additional context for the value.
 

https://material-web.dev/components/text-field/#prefix-and-suffix

Did this topic help you find an answer to your question?

4 replies

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @Freddy, do you think your idea is similar enough to this one to consider merging them?

 


Freddy
Forum|alt.badge.img+16
  • Author
  • Thinkwise Local Partner Brasil
  • 531 replies
  • November 5, 2024
Jeroen van den Belt wrote:

Hi @Freddy, do you think your idea is similar enough to this one to consider merging them?

 

@Jeroen van den Belt that would depend on how that idea would be interpreted. If it’s implemented as defining a currency prefix for example upfront, it’s not completely the same. Steering the display value is one, connecting it to the unit of measure (which most likely be another field) is another. 
 

This idea predominantly is about coupling fields of value with its unit of measure. So it’s always crystal clear what a person is entering. The field description is not sufficient as you cannot alter it based on a selected currency for example.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Thanks for your reply Freddy. It sounds like your idea also has its own legitimacy. I'll open it up for voting.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
NewOpen

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings