-
|
On this uiSchema code snippet : how to apply a Tailwind class to machinery field without use Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
lljj-x
Jun 11, 2022
Replies: 1 comment
-
|
Use the Refer to vue render function:https://vuejs.org/guide/extras/render-function.html#declaring-render-functions . machinery: {
"ui:options": {
disabled: false,
style: {
boxShadow: '0 0 12px 12px #2b9939'
},
// use Tailwind className
class: ['mx-auto', 'flex'],
},
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
clabnet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
classoptionRefer to vue render function:https://vuejs.org/guide/extras/render-function.html#declaring-render-functions .
className_heiis just an example of a custom className