[ 
https://issues.apache.org/jira/browse/ISIS-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber updated ISIS-2563:
-----------------------------
    Summary: Autocomplete MinLength not always handled correctly  (was: 
Autocomplete Facet not working in certain scenario)

> Autocomplete MinLength not always handled correctly
> ---------------------------------------------------
>
>                 Key: ISIS-2563
>                 URL: https://issues.apache.org/jira/browse/ISIS-2563
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>
> Also MinLength is not picked up by the facet.
>  
> Seeing this with mixin (autocomplete not available in UI)
> {code:java}
> @Action
> @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL)
> public class ApplicationRole_addPermission {
>     @Value @Accessors(fluent = true)           
>     public static class Parameters {
>         ApplicationPermissionRule rule; // ALLOW/VETO
>         ApplicationPermissionMode mode; // r/w
>         String feature;
>     }
>     public ApplicationRole act(
>             
>             @Parameter(optionality = Optionality.MANDATORY)
>             @ParameterLayout(named="Rule")
>             final ApplicationPermissionRule rule,
>             
>             @Parameter(optionality = Optionality.MANDATORY)
>             @ParameterLayout(named="Mode")
>             final ApplicationPermissionMode mode,
>             
>             @Parameter(optionality = Optionality.MANDATORY)
>             @ParameterLayout(named="Feature")
>             final String feature) {
>         //...    
>     }
>     @Model
>     public java.util.Collection<String> autoCompleteFeature(
>             Parameters params,
>             @MinLength(3) String search) {
>     }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to