FineUIPro/Mvc/Core的下个版本(v6.4.0),我们会为NumberBox控件增加NumberPrefix和NumberSuffix。

 

之前的版本是支持表单字段的前缀和后缀,如下所示:

【新特性速递】数字输入框的前缀和后缀(位于输入框内部)

 

其中【美元金额】表单字段的标签定义如下所示(注意是:Prefix属性):

<f:NumberBox Label="美元金额" ID="NumberBox6"
	NoDecimal="true" NoNegative="true" Required="true" 
	EnablePrefix="true" Prefix="$" runat="server" />

  

https://pro.fineui.com/#/form/form_prefix_suffix.aspx

 

 

对于数字输入框,如果能把 $ 符号放到输入框内部岂不是更好?这也就有了今天要介绍的更新(注意是:NumberPrefix属性):

<f:NumberBox Label="美元" ID="NumberBox2" NoDecimal="true" 
	NoNegative="true" Text="100000" EnableCommas="true" Required="true" 
	ShowRedStar="true" runat="server" NumberPrefix="$ " />

 

显示效果如下所示:

【新特性速递】数字输入框的前缀和后缀(位于输入框内部)

 

 

欢迎入伙:https://fineui.com/fans/

 

三石出品,必属精品 

 

相关文章:

  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2021-08-05
  • 2021-06-25
  • 2021-12-23
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2022-03-06
  • 2022-02-17
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-09-16
相关资源
相似解决方案