forked from syncfusion/blazor-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomFormat.razor
More file actions
43 lines (35 loc) · 1.1 KB
/
CustomFormat.razor
File metadata and controls
43 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@page "/NumericTextBox/CustomFormat"
@using Syncfusion.EJ2.Blazor.Inputs
@inherits SampleBaseComponent;
<div class="control-section">
<div class="col-lg-12 control-section">
<div class="content-wrapper">
<div class="control-label">
Enter the distance
</div>
<EjsNumericTextBox TValue="int?" Value=250 Format="###.### km" Min=0></EjsNumericTextBox>
<div class="control-label">
Enter the tax
</div>
<EjsNumericTextBox TValue="int?" Format="### '%'" Value=25 Max=100 Min=0></EjsNumericTextBox>
<div class="control-label">
Enter the amount
</div>
<EjsNumericTextBox TValue="int?" Format="$ ###.##" Value=1025 Min=0></EjsNumericTextBox>
</div>
</div>
</div>
<style>
.content-wrapper {
width: 35%;
margin: 0 auto;
min-width: 185px;
}
.e-float-input.e-numeric.e-input-group {
margin-top: 40px;
}
.control-label {
padding: 24px 0px 10px 0px;
font-size: 12px;
}
</style>