Skip to content

how to set css in tabarray #305

Open
@AbhishekBorkar04

Description

@AbhishekBorkar04

i am using angularjsonform tabarray .
image
Json for above example is
{
"schema": {
"friends": {
"type": "array",
"items": {
"type": "object",
"title": "Friend",
"properties": {
"nick": {
"type": "string",
"title": "Nickname",
"minLength":10
},
"nick1": {
"type": "string",
"title": "Nickname",
"minLength":10
},
"nick2": {
"type": "string",
"title": "Nickname",
"minLength":10
},
"nick3": {
"type": "string",
"title": "Nickname",
"minLength":10
},

      "animals": {
        "type": "array",
        "items": {
          "type": "string",
          "title": "Animal name"
        }
      }
    }
  }
}

},
"form": [
{
"type": "tabarray",
"items": [
{

  "items": [
    {
      "type": "section",
      "htmlClass": "col-xs-4",
      "items": [
   "friends[].nick"
      ]
    },
    {
      "type": "section",
      "htmlClass": "col-xs-4",
      "items": [
      "friends[].nick1"
      ]
    },
      {
      "type": "section",
      "htmlClass": "col-xs-4",
      "items": [
      "friends[].nick2"
      ]
    },
      {
      "type": "section",
      "htmlClass": "col-xs-4",
      "items": [
      "friends[].nick3"
      ]
    }
  ]
}
]

} ]
}
when i type something all fields are getting green(has-success class) and validation message shift below fields towards right( as shown in image).
Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions