Skip to content

Disable add link in tabarray like in array #671

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

Closed
Machadalo opened this issue Apr 26, 2016 · 8 comments
Closed

Disable add link in tabarray like in array #671

Machadalo opened this issue Apr 26, 2016 · 8 comments

Comments

@Machadalo
Copy link

Machadalo commented Apr 26, 2016

Hi I have a situation where I want to disable to the add link in tab functionality. Could you please let me know how can this be achieved. Thanks in advance

@Anthropic
Copy link
Member

Anthropic commented Apr 26, 2016

@Machadalo please read the documentation for array, you'll find your answer is there:
https://github.com/json-schema-form/angular-schema-form/blob/development/docs/index.md#array
"To suppress add and remove buttons set add to null and remove to null."

Please re-open if you do not feel the question has been answered sufficiently.

@Anthropic
Copy link
Member

Actually you said tab array, my bad.

@Anthropic Anthropic reopened this Apr 26, 2016
@Machadalo
Copy link
Author

Yes, Its a tab array. Could you please help me on this

@Anthropic
Copy link
Member

@joelwkent you just did a PR on tabarray, did you see anything that would explain why this wouldn't be working?

@Anthropic Anthropic changed the title Disabling add link in tabarray Disable add link in tabarray like in array Apr 26, 2016
@Machadalo
Copy link
Author

Machadalo commented Apr 26, 2016

Did not found solution to disable add link?also I read this documentation
https://github.com/json-schema-form/json-schema-form/wiki/Documentation#tabarray

@joelwkent
Copy link
Member

Tab array does not currently support hidding the add and remove buttons like array. @Machadalo would you like to raise a pull request to add this? Otherwise I'm happy to add this functionality as I currently have a pull request open regarding tab array.

@Machadalo
Copy link
Author

It would be great if you can add this functionality.. Thanks in advance

@joelwkent
Copy link
Member

No problem @Machadalo, I'll expand PR 19 to include this enhancement. I'll close this issue. Please re-open if you do not feel the question has been answered sufficiently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants