Skip to content

Custom-UI with React - Add navitems & more #1474

Answered by michaelbromley
egillben asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

Is React-UI extension only available on routes? or is it possible to use for example "addActionBarItem" and "registerFormInputComponent" with react components?

Correct - A React app can currently only be mounted at a given route. I think it might be technically feasible to make some kind of wrapper that allows you to embed a React app as a ActionBar item or a FormInputComponent, but it would be a lot of complexity, lots of added bundle size (a whole app just for a single component), and would be an inferior end result to using a native Angular component for those use cases.

And also an extra question: Is it possible to create unique index on custom fields on tables?

Not currently,…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@egillben
Comment options

@michaelbromley
Comment options

Answer selected by egillben
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants