Skip to content
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

Availability не работает #41

Open
AlexeyKorshun opened this issue Jul 16, 2021 · 2 comments
Open

Availability не работает #41

AlexeyKorshun opened this issue Jul 16, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@AlexeyKorshun
Copy link

в рецепте ставлю availability: false и виджет скрывается, вместо того что бы стать недоступным для редактирования

@PStrelchenko
Copy link
Collaborator

@AlexeyKorshun , привет!
А приведи, пожалуйста, весь рецепт, который ты пытаешься запустить? Очень поможет в отладке.

@PStrelchenko PStrelchenko added the bug Something isn't working label Jul 16, 2021
@AlexeyKorshun
Copy link
Author

requiredParams:
  name: name
  description: description

optionalParams:
  revision: 1
  category: fragment
  formFactor: mobile
  constraints:
    - kotlin
  screens:
    - fragment_gallery
    - menu_entry
  minApi: 21
  minBuildApi: 21

widgets:
  - stringParameter:
      id: className
      name: Screen Name Prefix
      help: The name of the Screen to create
      constraints:
        - class
        - nonempty
        - unique
      default: Blank

  - stringParameter:
      id: fragmentName
      name: Fragment Name
      help: The name of the Fragment class to create
      constraints:
        - class
        - nonempty
        - unique
      default: BlankFragment
      suggest: ${className}Fragment
      visibility: true
      availability: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants