v-autocomplete does not show drop down if the search term does not match - vue.js

I have a search box using v-autocomplete where the user can search based on institution name or city. The drop down will display only the institution names. When a user search for by city, I see that v-autocomplete has the data (on looking from debugger) but the drop down is not displayed for user to pick an institution. When a user search by institution name, it displays the drop down correctly.
I suspect v-autocomplete component match the search term with the data and display the drop down only if there is a match. Is there a way to get around this?

Sorry if it takes more than two years to have a response but I was stucked at this same point and I think that an answer can help other people searching for a solution!
It is enought to add the attribute no-filter to the tag:
<v-autocomplete
color="white"
item-text="value"
item-value="id"
no-filter
...
Hope it may be helpfull.

Related

Oracle Apex column link from LOV values

Can you please advise if below is even possible. Using Oracle 11g and APEX 4.2.6.
I have a data grid that brings all tasks from a master table. But show the task name via a LOV.
I am trying to add links, via Column links. But I must turn off the LOV to make this work. Which would give me link. But this is not very helpful.
Example below.
44193
Is there a way, so I can still use a LOV. So that the return value gives me the ID for the link, but the Display value gives me the anchor text.
Example below.
Weekend
Many thanks
I'm mostly used to Apex 4.1, but this approach should work.
You don't need an LOV. Your report query should include both the MAST_ID and the TASK_NAME columns. Hide the TASK_NAME column and set MAST_ID as the linking column. If you set the Link Text (under Column Link) to #TASK_NAME#, you should get the desired result. Display As should be left at the default (Display as Text etc).
They added a new feature now where you can add a link to your item under: "Link" attribute.

Limit PivotTable Filter based on another filter

I have a pivot table with multiple filters, such as:
Site: select one of the sites
Supervisor: shows all supervisors, regardless of site
Currently, the Supervisor filter shows all the available options from the data set. I want it to only display the supervisor names that match the selected site. I'm trying to put together an automated solution that will update as users select the options they need within the filters (to see their site and individual teams, for example). I'm trying to automate this, so it will always be current as supervisors are added/removed from the data set.
I'm pretty sure automating this is a VBA issue, but I'm pretty new to using VBA, so I'm not sure where to start.
Seeing as I'm new and do not have enough rep to comment I will just give you an answer and if it's not what you're looking for I will remove it.
I don't believe this is a VBA issue. In the pivot table Field List you will want to set Supervisor to be filtered by clicking the little downward arrow beside the field name within the "Choose fields to add to report" box. That way when you select a site you can then filter out any of the supervisors that don't belong there.

how to add items to combo box in lightswitch

I'm new to lightswitch and i searched lot, but couldn't find proper solution for this simple question. I need to add items to combo box, based on user selection. ( not from existing table)
For example if user select country ,following towns must add to combo box.
USA - Texas, New York etc
UK - London , Surrey
How can i do this? i'm using vb.net as my back end. i found this article How to create an unbound combobox as useful one. but couldn't able work according to my scenario.
what is the way to add items to combo box?
In Lightswitch, if you want to have a dynamic set of data bound to a control, that data must be in a table. You then need to create a query that filters the data in that table based on the user's selection and bind your control to that query.
Here is a pair of articles that describes implementing a situation that is similar to yours:
Nested AutoCompleteBox for data entry
Nested AutoCompleteBox for data entry Part 2
We can't directly assign our own values to combo box. we have to use either data table ( as mentioned by embedded.kyle ) or we have to create custom control to assign values.
i have used custom User Control for above scenario. detail step that i followed can be found in following Link
Adding a record that doesn't already exist in a bound table is a very common scenario. Unfortunately, there's no out-of-the-box way to do this in LightSwitch, you simply have to write code to achieve it, like in this blog post.
Add non existent records using AutoCompleteBox
Or, of course as was also suggested, you could create a custom control to do the job.

How to filter a Sharepoint List Column with a Textbox Control Value using a "Contains" query?

I'm using a data view to display a list (Sharepoint 2010) that has several columns including one that has a Name column. I've provided the user with a text filter on the page to send values to filter the Name column in this list. The problem I'm facing is that the filter only works for exact matches and not partial matches.
I tried to overcome this problem by using Sharepoint Designer to:
create a parameter that uses the textbox control value.
Filtering the Name column with this parameter and setting the comparison to "Contains"
Unfortunately if the default value of the Parameter is blank, the list does not display any data. If the default value of the parameter is set to part of a name in the list, the list displays names that contain that string. However, when changing the value in the text box and searching, the list does not return results. Please let me know if you guys know how to fix this. Any help is much appreciated and let me know if you need any additional information. Thanks!
Managed to find a solution to my problem. I used a custom javascript solution designed by jvossers (http://instantlistfilter.codeplex.com) that involves the list being filtered instantly much like Google's search!
The only downside of this solution is that it only filters the items currently displayed on the screen. Therefore, if you have a data view web part which limits the amount of items displayed on the page, this solution won't help you. In order to facilitate this solution, display all the row items on the page (by increasing the item limit per page to a larger number than your total list rows) and then add this code into a content editor web part on the same page. Worked brilliantly for me. '
By the way if you are using jQuery 1.3.x or higher, you should modify the script a little as described in the disscussion here: http://instantlistfilter.codeplex.com/Thread/View.aspx?ThreadId=49123

Repeat footer field on new page

The question is simple, I couldn't find any solution though.
If it is possible, how do I repeat a field that's in the Footer on a new page if it doesn't fit the container?
For example: I have a column that can store up to 5000 characters, and I must display it in the Footer. So if it reachs a certain number of characters, I'd like it to be repeated on a new page, even if it's the only field repeated.
Could someone point me to the right direction? Or just tell me if it's not possible?
Oh and it may be put in the Body instead of being in the Footer, if that makes it easier or if it solves the problem.
Thanks in advance.
Since you are unable to display columns in the Page Footer, what I do is create A #MyParam and set it as Internal. Under Default Values Select "From Query" then select the dataset and set the Value Field to the column one you want to display.
Drag out a TextBox and place it in the page footer, edit the Expression for the TextBox and have it display the #MyParam rather than the column.
This will repeat the entire column, not the "overflow" from the original column.