question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to disable `x` clear icon when editing in NumberbBox

See original GitHub issue

Describe the bug

winui3gallery://item/NumberBox

i do not need this X image

Steps to reproduce the bug

No property to disable this

Expected behavior

we could be able to show or hide

Screenshots

No response

NuGet package version

No response

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrewKeepCodingcommented, Feb 8, 2023

You can use the NumerBoxEx NuGet package that has these DependencyProperties. Check it out.

  • IsDeleteButtonVisible
  • NumberHorizontalAlignment

Disclamer: I’m the maintainer of the NuGet package.

0reactions
heartackercommented, Aug 7, 2023

no

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Remove “X” icon from search input field or ...
The Solution to Remove this X icon: /* clears the 'X' from Internet Explorer */ input[type=search]::-ms-clear { display: none; width : 0; height:...
Read more >
css - react-select: Overwrite default styles and remove the ...
To remove 'x' set the isClearable props to false . <Select searchable isClearable={false} name="form-field-name" options={options} value={ ...
Read more >
Remove the X from Internet Explorer and Chrome input type ...
When you have a some input with type="search", typing some content will display an X to allow you to clear the content of...
Read more >
Remove the Search Input Clear(x) Icon
Remove the Search Input Clear(x) Icon ... I found a UI element not useful: the x (clear) icon in <input type="search" /> elements....
Read more >
How to change the "cancel(erase)" X icon in the Guide ...
Hi, I would like to know if anyone knows how to specifically change or style the "X" icon that clears the Search Input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found