Nativescript-ui-feedback: AutoCompleteInline - CompletionMode Contains

Created on 11 Oct 2019  路  4Comments  路  Source: ProgressNS/nativescript-ui-feedback

More of than an issue i think is a behavior, or maybe it exists but in documentation doesn`t appear

im talking about a mode of filter the data, like autoCompleteText, wich have the autoCompleteCompletionMode = Contains, i hope this feature get include in autocomplete inline, or if already exists, show in documentation. Greetings.

dataform feature

Most helpful comment

Hello, sure, i mean if there is the posibility to include in the autocomplete editor in RadDataForm, to filter with StartWith and by Contains, like we do on the RadAutoCompleteTextView component, something like :

(Extracted by documentation of RadAutoCompleteTextView)

  • StartsWith - Shows only suggestions which start with the typed text.
  • Contains - Shows suggestions which contain the typed text but not necessarily in the beginning.
<RadDataForm #dataform row="1" [source]="booking" tkExampleTitle tkToggleNavButton (propertyCommitted)="onPropertyCommitted($event)">
    <TKEntityProperty tkDataFormProperty name="from" displayName="From:" index="0" autoCompleteDisplayMode="Tokens" completionMode="Contains"  [valuesProvider]="fromProviders">
        <TKPropertyEditor tkEntityPropertyEditor type="AutoCompleteInline"></TKPropertyEditor>
    </TKEntityProperty>
</RadDataForm>

add this feature completionMode="Contains" / StartWith

hope this be more clear, and thx for quickly reply.

All 4 comments

Hi @wkjesus,
Can you provide more detailed info about your scenario and what you are trying to achieve as a final result?

Hello, sure, i mean if there is the posibility to include in the autocomplete editor in RadDataForm, to filter with StartWith and by Contains, like we do on the RadAutoCompleteTextView component, something like :

(Extracted by documentation of RadAutoCompleteTextView)

  • StartsWith - Shows only suggestions which start with the typed text.
  • Contains - Shows suggestions which contain the typed text but not necessarily in the beginning.
<RadDataForm #dataform row="1" [source]="booking" tkExampleTitle tkToggleNavButton (propertyCommitted)="onPropertyCommitted($event)">
    <TKEntityProperty tkDataFormProperty name="from" displayName="From:" index="0" autoCompleteDisplayMode="Tokens" completionMode="Contains"  [valuesProvider]="fromProviders">
        <TKPropertyEditor tkEntityPropertyEditor type="AutoCompleteInline"></TKPropertyEditor>
    </TKEntityProperty>
</RadDataForm>

add this feature completionMode="Contains" / StartWith

hope this be more clear, and thx for quickly reply.

Is this feature available now?

Hi, is this feature implemented in the latest release?

Was this page helpful?
0 / 5 - 0 ratings