Skip to content

How do form attributes get used? #464

Closed Answered by jtdaugherty
amano-kenji asked this question in Q&A
Discussion options

You must be logged in to vote

The behavior will depend on the particular form fields you are using. focusedFormInputAttr is only going to have an effect for form fields that don't use their own attributes already, like List or Editor. For an example of what I mean, try running brick-form-demo. You'll notice that it sets the same attributes that you do, but the form focused input attribute only affects the radio buttons. The editor attribute is used for the editors. This might be a bit confusing, but the only other option is to force the form input attributes to override the per-widget-type attributes, which might be even more undesirable. If this comment doesn't clear things up, please post a screenshot and we can exp…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@amano-kenji
Comment options

@jtdaugherty
Comment options

@amano-kenji
Comment options

Answer selected by jtdaugherty
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