Weired suffix behaviour
See original GitHub issueMy customer wants to add a label as suffix to input (large enterprise project, so no code example).
I know the suffix
prop is not actually made for this and I use it together with intl
prop. The outcome on the first glance is quite good.
Writing 30
ends up in
So groups get added, and the intl configuration is not overwritten like the documentation states.
<CurrencyInput
id={label.replace(" ", "").toLowerCase()}
name={label.replace(" ", "").toLowerCase()}
placeholder={label}
intlConfig={{ locale, currency }}
{...{ type }}
onValueChange={handleChange}
key={`input-${label}`}
className={handles.financeCalculatorInput}
suffix={" " + label}
/>
I am not doing a change request here, because this scenario is quite rare. Just pointing out weired behaviour here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Nslookup suffixing behavior – Ace Fekay - Msmvps
If not, it will append the current context, that is the suffix(es) configured on the machine, which it will suffix each one in...
Read more >Strange URL Suffix behavior | General Discussion
I have an htaccess file in place that gets rid of the need for “index.php” in the URL. All is working great…...except for...
Read more >Windows DNS weird behaviour - Microsoft Q&A
Having a particularly odd issue with AD DNS where the Domain Controllers are resolving NETBIOS names and appending the wrong domain name.
Read more >Odd Suffix Behavior - Team Drives - Help and Support
I'm using a backup folder for changed files, along with --suffix to rename and keep revisions. I suspect this is something on google...
Read more >Angular Material: Weird suffix fucntionality - Stack Overflow
I am using angular material's form field component to create my forms... I noticed that if I use a button inside the mat...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just saw this same behavior, seems to be an issue with having the character “m” included in the suffix as by default this is assumed to be an abbreviation for “million”. Passing the
disableAbbreviations
prop will fix the issue.nice, this way was fixed my problem with suffix. Thank’s @ColinBohn