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

Change Key 'text' in submitted tags array #169

Open
MaxJan2010 opened this issue Mar 11, 2022 · 0 comments
Open

Change Key 'text' in submitted tags array #169

MaxJan2010 opened this issue Mar 11, 2022 · 0 comments

Comments

@MaxJan2010
Copy link

Hi,
How can I changed

[
   {
      "text":"hello",
      "tiClasses":[
         "ti-valid"
      ]
   },
   {
      "text":"next",
      "tiClasses":[
         "ti-valid"
      ]
   }
]

To:

[
   {
      "name":"hello"
   },
   {
      "name":"next"
   }
]

I mean change key text to name & and remove tiClasses from submitted data (i am using axios)

@MaxJan2010 MaxJan2010 changed the title Change Key 'test' in submitted tags array Change Key 'text' in submitted tags array Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant