2020-07-31 16:54:35 +02:00
|
|
|
{
|
2020-07-31 23:12:29 +02:00
|
|
|
"context": {
|
2020-08-17 15:39:17 +02:00
|
|
|
"label": "Enter your value here",
|
|
|
|
"placeholder": "A sample value"
|
|
|
|
},
|
|
|
|
"variants": [
|
|
|
|
{
|
|
|
|
"name": "With message",
|
|
|
|
"context":{
|
|
|
|
"message": "Please fill in anything valuable"
|
|
|
|
}
|
|
|
|
},
|
2020-08-01 00:09:34 +02:00
|
|
|
{
|
|
|
|
"name": "disabled",
|
|
|
|
"context": {
|
2020-08-17 15:39:17 +02:00
|
|
|
"modifier": "--disabled",
|
|
|
|
"disabled": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-08-01 00:09:34 +02:00
|
|
|
"name": "error",
|
|
|
|
"context": {
|
2020-08-17 15:39:17 +02:00
|
|
|
"modifier": "--error",
|
|
|
|
"message": "This field is required"
|
2020-08-01 00:09:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2020-07-31 16:54:35 +02:00
|
|
|
}
|