nilayjoshi89 / blackpearl Goto Github PK
View Code? Open in Web Editor NEWControl Library for WPF
License: MIT License
Control Library for WPF
License: MIT License
Describe the bug
Setting SelectedItems property after load changes popup visibility
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Popup visibility should not get changed.
Is your feature request related to a problem? Please describe.
Suggestion drop-down is single select. Can't select multiple items from suggestion drop-down in one go.
Describe the solution you'd like
Suggestion drop-down should have extended selection.
Describe alternatives you've considered
N/A
Additional context
N/A
Describe the bug
If Control shrinks when Popup is open, it does not reposition itself.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Popup should reposition itself if main control shrinks or grows
Is your feature request related to a problem? Please describe.
The users using MultiSelectCombobox in my project, might not know the exact content in it, so they need to have an intuitive way to see the available items from get-go - aka: see all available items when the click on control.
Describe the solution you'd like
When you click on the MultiSelectCombobox - it should have an option to open suggestions instantly instead of needing to press down key or start typing to show all/available suggestions.
Describe alternatives you've considered
I've tried to find something to bind to, so I can open it with some method in the code-behind, or at least modify the text inside and do something like a spacebar + backspace combo to open it, but ether I couldn't find a workaround or in fact - it does not exist :/
Describe the bug
Host window may fail initializing with null reference exception if bound SelectedItems property is Null
To Reproduce
Steps to reproduce the behavior:
NA
Expected behavior
Should not fail
Screenshots
NA
Desktop (please complete the following information):
NA
Additional context
NA
Hi. Can you port your control to .Net core 3.1 ? Many thanks for the library
Describe the bug
While suggestion drop-down is open and up is pressed several times, it stops changing selected index after one point
RichTextBox loses focus after selection
Control crashes if Shift+Left/Right Keys are used while drop-down is closed
if selected item contains any of the existing item, items after that does not get added to SelectedItems list.
Fixing NuSpec
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
Is your feature request related to a problem? Please describe.
Creating a new item by adding the separator character at the end is not a very intuitive user experience when they encounter the multiselect combobox for the first time, as it requires the users to:
Most people will just type in what they want, and be confused when it gets deleted as soon as they click away.
When they select an existing item first, they will see the ";" at the end and probably figure it out but it could be a lot better.
Describe the solution you'd like
Looking at how email clients handle adding email recipients, these are some solutions they use:
Another, more elaborate and probably overkill option would be to add the new entry in the dropdown that states that it will create a new item, this is how github handles selecting/creating branches and tags as shown here.
The main thing is to add options. The more ways there are to do it, the higher the chance the user will find one of them so while one of these options would already help a lot, the more the better.
Describe alternatives you've considered
Now I just explain in a little textbox that they need to terminate items with ";", which isn't very professional.
Hi there
It is not possible to add an item by mouse click from suggestion list...
I will add a suggestion to fix this :-)
Regards
Is your feature request related to a problem? Please describe.
When larger data-source is assigned, control searches across all items on each and every char input. This degrades control performance and overall user experience.
Describe the solution you'd like
User tent to enter more than one character at a time. Hence, rather than triggering look-up on every key press, a delay should be added and wait for user to finish.
Describe alternatives you've considered
NA
Additional context
NA
如何在DataGridTemplateColumn 中使用 MultiComboBox呢?下拉框可以显示绑定选中项,TextBlock无法显示
Describe the bug
I have some properties that will throw exception in get and set if some other dependent property is not properly set. For this reason, I have implemented custom LookUpContract and set SupportsNewObjectCreation to false, just to avoid creating objects, since they should only be created in backend and just filtered on the UI.
If you put the breakpoint on SupportsNewObjectCreation it will never be hit. At what point this property gets called ?
To Reproduce
1.Create object such as :
class Test
{
private int _num;
private string _text
public int Num {get; set;}
public string Text {get {if _num == 99 throw exception else return _text }; set {}
}
Expected behavior
Not to call getter of this property, and don't create a new instance
BlackPearl 1.0.2.1
.net core 3.1 WPF app
Describe the bug
Text that is pasted into the MultiSelectComboBox is ignored and not treated as typed text.
Steps to reproduce the behavior:
Copy-paste anything into the control, the popup will open showing matching suggestions as you would expect but if you try to type ";" to create a new entry, nothing happens as if the box is empty, unlike when I type it out, then it works just fine.
If I paste something and then continue typing, it will only match with what I have typed, the pasted text right before it gets ignored. And if you paste something, continue typing and press ";" to create a new entry, only the typed text will be included in the new entry, the pasted text gets removed.
Pasted text also keeps its original formatting because of the RichTextBox which includes font size and color which looks very jarring, it should just paste as plain text, not as formatted text.
Desktop (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.