in my show.blade.php I want to show the associated values of a database record.
As you can see in the screenshot, there a 3 different ways a disabled element is shown.
1)
It's not clear for the user wether the input is disabled or not.
2) <x-bladewind::select :data="$sectors" label="{{ ('Branche') }}" disabled="true" selected_value="{{ $client->sector_id }}" ....
very poor readability (wrote that already in E-Mail)
3) <x-bladewind::input type="numeric" label="{{ ('Umsatz') }}" disabled="true" selected_value="{{ $client->volume }}" ....
good readability, gray background clearly says: "no input here". That's very good.
I would wish all baldewind inputs/selects would behave like that ;-)
in my show.blade.php I want to show the associated values of a database record. As you can see in the screenshot, there a 3 different ways a disabled element is shown.
1)
It's not clear for the user wether the input is disabled or not.
2) <x-bladewind::select :data="$sectors" label="{{ ('Branche') }}" disabled="true" selected_value="{{ $client->sector_id }}" ....
very poor readability (wrote that already in E-Mail)
3) <x-bladewind::input type="numeric" label="{{ ('Umsatz') }}" disabled="true" selected_value="{{ $client->volume }}" ....
good readability, gray background clearly says: "no input here". That's very good.
I would wish all baldewind inputs/selects would behave like that ;-)