-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LC0016 with SplitButton and Repeater Scope #587
Comments
Thanks @Arthurvdv! |
Version v0.30.20 of the LinterCop is now released. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When having the ShowAs property on an Action Group set to
SplitButton
, the Caption property is not needed on the group. LC0016 handles this in a nice way.But I just discovered that if an action inside a
SplitButton
Action Group has the Scope set toRepeater
, the Caption is needed for the context menu on the line, otherwise an autogenerated caption i displayed in the context menu (in my example, the actions are promoted, hence theCategory_
prefixes):So, to my suggestion:
Add a new condition for LC0016, to require Caption on Page Action Group if they have
SplitButton
specified and the action Scope is set toRepeater
. (Note that this should apply both to action groups in the promoted action area, as on regular action groups)The text was updated successfully, but these errors were encountered: