Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Update Studio metadata for ValuesSelectAction #344
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb Durygin committed Jul 21, 2021
1 parent b0328a5 commit 28931cd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ public String getSelectValueScreenId() {
*
* @param selectValueScreenId the id of {@link SelectValueController} screen
*/
@StudioPropertiesItem(type = PropertyType.STRING, defaultValue = DEFAULT_SELECT_VALUE_SCREEN)
@StudioPropertiesItem(type = PropertyType.SCREEN_ID, defaultValue = DEFAULT_SELECT_VALUE_SCREEN,
options = {"io.jmix.ui.app.valuespicker.selectvalue.SelectValueController"})
public void setSelectValueScreenId(String selectValueScreenId) {
screenInitializer.setScreenId(selectValueScreenId);
}
Expand Down Expand Up @@ -213,7 +214,7 @@ public String getLookupScreenId() {
*
* @param lookupScreenId the lookup screen id
*/
@StudioPropertiesItem(type = PropertyType.STRING)
@StudioPropertiesItem(type = PropertyType.SCREEN_ID, options = {"io.jmix.ui.screen.LookupScreen"})
public void setLookupScreenId(@Nullable String lookupScreenId) {
selectValueContext.setLookupScreenId(lookupScreenId);
}
Expand Down

0 comments on commit 28931cd

Please sign in to comment.