question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] required field "red star" after <label> tag disappears when wrapper added into field

See original GitHub issue

Bug report

when we adding in Crud file for fields

'wrapper' => [
     'class' => 'my-2 col-md-4'
],

What I expected to happen

required fields should be marked with “red star” after label

What happened

it disappears.

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is: 4.1.6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tabacitucommented, Jun 1, 2020

Thank you for being so understanding @siberfx !

1reaction
siberfxcommented, May 28, 2020

you can close this issue, I will investigate it myself and I can create another report with the exact reason that causing this issue. thank you for your time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Required asterisk disappears when hiding label. - Drupal
I think the best solution would be to place the asterisk within the DIV.webform-component wrapper when labels are set to 'hidden', or (maybe ......
Read more >
Use CSS to automatically add 'required field' asterisk to form ...
Here is a simple "CSS only" trick I created and am using to dynamically add a red asterisk on the labels of required...
Read more >
How to display Required field with Red Asterick sign
Hello All, In my pages I want to display all the mandatory/required fields with Red Asterick Sign after the field label. But as...
Read more >
Show asterix when required field is disabled · Issue #19410 ...
The asterisk is shown for required form fields that are disabled in the MDC based form field component available in v15.
Read more >
Card for a required field does not display the * The StarVisible ...
One of my required fields is not showing the * It seems that the ... I made 2 attempts to create a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found