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

CustomField dropdown (type string with options) is not showing in Admin UI #546

Closed
jonyw4 opened this issue Nov 5, 2020 · 0 comments
Closed
Assignees
Labels
type: bug 🐛 Something isn't working
Milestone

Comments

@jonyw4
Copy link
Contributor

jonyw4 commented Nov 5, 2020

The customField dropdown (options using type as string) is not showing in admin ui.

{
    name: 'origem',
    type: 'string',
    public: false,
    label: [
      {
        languageCode: LanguageCode.pt_BR,
        value: 'Origem do produto'
      }
    ],
    options: [
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value: '0 - Nacional, exceto as indicadas nos códigos 3, 4, 5 e 8'
          }
        ],
        value: '0'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '1 - Estrangeira - Importação direta, exceto a indicada no código 6'
          }
        ],
        value: '1'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '2 - Estrangeira - Adquirida no mercado interno, exceto a indicada no código 7'
          }
        ],
        value: '2'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '3 - Nacional, mercadoria ou bem com Conteúdo de Importação superior a 40% e inferior ou igual a 70%'
          }
        ],
        value: '3'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '4 - Nacional, cuja produção tenha sido feita em conformidade com os processos produtivos básicos de que tratam as legislações citadas nos Ajustes'
          }
        ],
        value: '4'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '5 - Nacional, mercadoria ou bem com Conteúdo de Importação inferior ou igual a 40%'
          }
        ],
        value: '5'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '6 - Estrangeira - Importação direta, sem similar nacional, constante em lista da CAMEX e gás natural'
          }
        ],
        value: '6'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '7 - Estrangeira - Adquirida no mercado interno, sem similar nacional, constante lista CAMEX e gás natural'
          }
        ],
        value: '7'
      },
      {
        label: [
          {
            languageCode: LanguageCode.pt_BR,
            value:
              '8 - Nacional, mercadoria ou bem com Conteúdo de Importação superior a 70%'
          }
        ],
        value: '8'
      }
    ]
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants