welissonArley / Packages.MAUI

Welcome to my .NET MAUI Plugin Repository! My plugins were designed to extend the capabilities of .NET MAUI and provide additional functionality for developers.
MIT License
8 stars 2 forks source link

Feature suggestion: Masked input #14

Open breenbob opened 1 month ago

breenbob commented 1 month ago

First off, love the package!

I thought it would be a great addition if the HideCodeViewer supported masking of the input. It could be as simple as using a mask character, e.g. Circular bullet point char (•) which you could control size/color/position with FontSize/TextColor/Padding,

But a shape viewer, e.g. an ellipse shape centered on the code label elements, with bindable properties for size/colour might be an even more robust solution. It could even have fade in/grow animation?

welissonArley commented 1 month ago

Hii @breenbob thanks for your comment and make me happy see you love my package.

  1. The component to show/hide the pincode receive a ShapeViewer, so feel free to pass Ellipse, Rectangle, etc. You can customize the size, color, on the component you choose. However if you are showing the pincode you need to pass an extra parameter (a label). You can see an example here

  2. I will check if accepts a Path, because this Class derives from the Shape class, so in theory is working, but I can check to be sure

  3. Animation is such a great idea. I can work on that :)

breenbob commented 1 month ago

Thanks for the prompt response! I had seen the ShapeViewer but I guess I was thinking of its use in terms of simple shapes. Hence why I was suggesting another shape viewer. What I was trying to achieve was something like this:

image

So yes perhaps that could still be achieved with a shape using Path data if that is supported! That would be awesome. Will have a play around and let you know

welissonArley commented 1 month ago

Now I see your idea. I need to check if it's possible create this with a Path.