Settings banner validations failed

Solved

Settings banner validations failed

hoannguyen02
Shopify Partner
23 2 2

Hi team,

 

Could you help me take a look and give me a solution/suggestions why the build failed. I am settings validations for status of banner like bellow:

[extensions.settings]
[[extensions.settings.fields]]
key = "status"
type = "single_line_text_field"
name = "Banner Status"
description = "Choose a status for the banner"
[[settings.fields.validations]]
name = "choices"
value = "['info', 'success', 'warning', 'critical']"
[[extensions.settings.fields]]
key = "title"
type = "multi_line_text_field"
name = "Banner title"
description = "Enter a title for the banner"
[[extensions.settings.fields]]
key = "description"
type = "multi_line_text_field"
name = "Banner Description"
description = "Enter a description for the banner"

hoannguyen02_0-1692434087554.png

 

Thank you very much

 

Accepted Solution (1)

lizk
Shopify Staff
246 58 74

This is an accepted solution.

Hi there 👋
Looks like just a small typo. It should be 

[[extensions.settings.fields.validations]]

not settings.fields.validations.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 2 (2)

lizk
Shopify Staff
246 58 74

This is an accepted solution.

Hi there 👋
Looks like just a small typo. It should be 

[[extensions.settings.fields.validations]]

not settings.fields.validations.

To learn more visit the Shopify Help Center or the Community Blog.

hoannguyen02
Shopify Partner
23 2 2

Thank you very much