Textarea maxLength not working within Wizard?
I have a Textarea within a 3-step wizard, is it intended that maxLength/minLength are not rendered, i tracked it down to the
!$isConcealed()
call in the textarea view. it returns false when inside a wizard, but true if outside.
am i missing something or is this intended. If so, why? π
i solved it temporarily by adding ->extraInputAttributes(['maxlength' => 300])
, which works, but not perfect!2 Replies
the reason why it happens is because if you are on another wizard step and the input is not focusable, there will be a JS error as your browser cannot validate a hidden field
there is still backend validation though
sure. ok, so it is intended. thats totally ok for me π Thanky for the update!