ITADN

NumberInput locale and formatOptions style

#3844ClosedTihomir971 创建于 2026-04-01
triage
T
Tihomir971commented
### Description 1. NumberInput shold use locale from LocaleProvider if not passed 2. If there is two NumberInput components on same page if one have style: 'currency' it copy style to other component if it have formatOptions without style ### Link to Reproduction (or Detailed Explanation) https://stackblitz.com/edit/pgjyxvai?file=src%2FApp.svelte ### Steps to Reproduce 1. click on NumberInput withot style in formatOptions (it shold be default number) 2. try entering "sr-RS" locale as 1.234,5 in input. it shold show and diplay locale format ### Ark UI Version 5.20.1 ### Framework - [ ] React - [ ] Solid - [ ] Vue - [x] Svelte ### Browser _No response_ ### Additional Information _No response_
关闭于 2026-04-01 1 条评论