[
https://issues.apache.org/jira/browse/ISIS-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295055#comment-17295055
]
ASF subversion and git services commented on ISIS-2563:
-------------------------------------------------------
Commit 9a39ea5bcb141b7882b1cf791eacffabb335cddb in isis's branch
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=9a39ea5 ]
ISIS-2563: fixes MinLength not picked up correctly in autoComplete facet
> Autocomplete Facet not working in certain scenario
> --------------------------------------------------
>
> 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)