How do form attributes get used? #464
-
I have this, but form inputs rendered by I use brick-1.7. Did I do something wrong? Or, is it a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The behavior will depend on the particular form fields you are using. |
Beta Was this translation helpful? Give feedback.
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, likeList
orEditor
. For an example of what I mean, try runningbrick-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…