Skip to content

MatNumericUpDownField wrong position of trailing icon #853

Open
@vankampenp

Description

@vankampenp

Describe the bug
The MatNumericUpDownField has an up and down icon at the end of the field to increment or decrement the value. When you add an icon with IconTrailing="True", the added icon appears in the middle of the up and down icons, rather than to the right of it.

To Reproduce
Steps to reproduce the behavior:
Paste the following in BlazorFiddle:

<p>
            <MatNumericUpDownField Label="int"  Icon ="save"   IconTrailing="true"
                                   @bind-Value="@v5">
            </MatNumericUpDownField>
        </p>
        @code
        {
             int v5;
        }

Blazorfiddle link
https://blazorfiddle.com/s/sz4rjtpf

Expected behavior
The Icon should be trailing to the up down button, not to the input

Screenshots
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwaiting releaseThis issue has been fixed in the dev branch and is waiting release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions