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

RJSF custom select styling #88

Open
pohadkar opened this issue Jan 9, 2019 · 0 comments
Open

RJSF custom select styling #88

pohadkar opened this issue Jan 9, 2019 · 0 comments
Labels

Comments

@pohadkar
Copy link
Collaborator

pohadkar commented Jan 9, 2019

stylovani selectu je mozne temito zpusoby:

  1. v UI schema se tomu da trida (classNames:)
    ovsem tato trida se dava div obalu. nemuzeme tedy primo do selectu prirazovat dashboardove tridy.
    zatim jsem to nastyloval takto, ale je to tezka amaterina a optiony zustaly puvodni, takze to je trochu posunute vertikalne uvnitr.

  2. muzeme taky vytvorit custom widget. ovsem na rozdil od inputu je custom widget pro select prilis slozity a neexistuje zadny poradny priklad, jak by se to melo udelat.
    zkusil jsem pouzit primo definici select widgetu z rjsf, ale prestoze se vykreslil dobre, nefungoval. pri zmene value se tato neulozila.

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

No branches or pull requests

2 participants