Skip to content

Show keyboard hints for windows/linux #991

@gdebrauwer

Description

@gdebrauwer

Flux version

v1.1.2

Livewire version

v3.5.18

What is the problem?

Currently, you can only configure a keyboard hint for a single operating system. Keyboard hints inside Flux also assume Mac. I'm a Mac user, but most users are sadly not 😅

Code snippets

<!-- You have to provide either Mac keyboard -->
<flux:button kbd="⌘S" />
<!-- Or a Windows keyboard hint -->
<flux:button kbd="Ctrl+S" />

How do you expect it to work?

The possibility to define keyboard hints for multiple platforms;

<flux:button kbd:mac="⌘S" kbd:windows="Ctrl+S" />

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions